Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create clickable PDFs in Safari and OmniWeb' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create clickable PDFs in Safari and OmniWeb
Authored by: r0n on Mar 11, '09 01:32:04AM
For the lack of CSS media="print" stylesheets! (among other reasons) I got a bookmarklet to just zap the current stylesheet. It's living in the first spot of my Bookmarks Bar so I can trigger the bookmarklet by cmd-1.
javascript:(function(){var%20newSS,%20styles='*%20{%20background:%20white%20!%20important;%20color:%20black%20!important%20}%20:link,%20:link%20*%20{%20color:%20%230000EE%20!important%20}%20:visited,%20:visited%20*%20{%20color:%20%23551A8B%20!important%20}';%20if(document.createStyleSheet)%20{%20document.createStyleSheet(%22javascript:'%22+styles+%22'%22);%20}%20else%20{%20newSS=document.createElement('link');%20newSS.rel='stylesheet';%20newSS.href='data:text/css,'+escape(styles);%20document.getElementsByTagName(%22head%22)[0].appendChild(newSS);%20}%20})();


[ Reply to This | # ]