Bookmarklets

30 views
Skip to first unread message

Gunvaldfar

unread,
Sep 8, 2011, 6:52:29 AM9/8/11
to Chrome Extension: Multi Search
Hello Scott!

Is it possible to add bookmarklets as searchengines which should be
applied to the current side?

example:
javascript:(function()
{_readableOptions={'text_font':'Vollkorn','text_font_monospace':'quote(Courier
New), Courier, monospace','text_font_header':'quote(Palatino
Linotype), Palatino, quote(Book Antigua), Georgia,
serif','text_size':'20px','text_line_height':'1.5','box_width':'30em','color_text':'#282828','color_background':'#E5DED6','color_links':'#EE4545','text_align':'normal','base':'blueprint','custom_css':''};if(document.getElementsByTagName('body').length>0);else{return;}
if(window.$readable){if(window.$readable.bookmarkletTimer){return;}}
else{window.$readable={};}window.
$readable.bookmarkletTimer=true;window.
$readable.options=_readableOptions;if(window.
$readable.bookmarkletClicked){window.
$readable.bookmarkletClicked();return;}
_readableScript=document.createElement('script');_readableScript.setAttribute('src','http://
readable-static.tastefulwords.com/target.js?
rand='+encodeURIComponent(Math.random()));document.getElementsByTagName('body')
[0].appendChild(_readableScript);})()

thx
Martin

Scott

unread,
Sep 19, 2011, 3:28:45 AM9/19/11
to multi...@googlegroups.com
Hi Martin,

My apologies for not responding sooner, life has been conspiring to keep me very busy lately. :-(

I believe with a few changes to the extension it could be made to execute bookmarklets. I would probably add a tick option per search engine that would let you specify that it is a bookmarklet to be executed, the option would of course have to be manually ticked when adding the bookmarklet to the list. For security reasons, I wouldn't want this facility to be always on for all search engines.

I'll add this request to my future changes list. Unfortunately work commitments are taking up all my spare time and will do for the next month, but after then I should be able to start to tackle the future changes list. I'll post on here when I've added bookmarklet support, so that you'll get notified of the addition.

Scott
Reply all
Reply to author
Forward
0 new messages