Skip to content

Instantly share code, notes, and snippets.

@MichaelPaulukonis
Created January 7, 2014 15:42
Show Gist options
  • Select an option

  • Save MichaelPaulukonis/8301218 to your computer and use it in GitHub Desktop.

Select an option

Save MichaelPaulukonis/8301218 to your computer and use it in GitHub Desktop.
various bookmarklets
javascript:var%20loc='site:https://developer.mozilla.org/en-US/docs/Web/JavaScript';if('%s'){loc='https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2Fdocs/+%s';}location.href=loc;
javascript:if('%s')%20location.href='https://duckduckgo.com/?q=%s+site%3Aemacswiki.org';else%20location.href='http://emacswiki.org/';
javascript:if(escape("%s"))%20location.href='http://stackoverflow.com/search?q='+escape("%s");else%20location.href='http://stackoverflow.com/';
// search netflic -- but now prompts for profile; possible to set?
javascript:{var%20loc="http://movies.netflix.com/";if(escape("%s")){var%20srch="%s".replace("%20","+");loc="http://movies.netflix.com/WiSearch?raw_query=SRCHTERM&ac_category_type=none&ac_rel_posn=-1&ac_abs_posn=-1&v1=SRCHTERM&search_submit=".replace(/SRCHTERM/g,srch)}location.href=loc}
javascript:if('%s')%20location.href='http://www.xradiograph.com/?q=%s&focus=on&action=search';else%20location.href='http://www.xradiograph.com/';
javascript:{if(escape("%s"))%20location.href='http://catalog.lioninc.org/search/?searchtype=t&SORT=D&searcharg='+escape("%s")+'&searchscope=29';else%20location.href='http://catalog.lioninc.org/search/';}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment