Skip to content

Instantly share code, notes, and snippets.

@iamandrewluca
Last active October 18, 2023 07:30
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamandrewluca/61feacf07bc4f2f50e70f986c2e9b2d2 to your computer and use it in GitHub Desktop.
Save iamandrewluca/61feacf07bc4f2f50e70f986c2e9b2d2 to your computer and use it in GitHub Desktop.
Collection of bookmarklets that I use day to day #bookmarklets

Any other ideas are welcome. Just ask if what you want is possible.

TODO: Migrate here iamandrewluca/awesome-bookmarklets

Post: https://dev.to/iamandrewluca/bookmarklets-browser-search-engine-2m30

Starter template

javascript: (async (s) => {
    'use strict';
    // Was not used as search engine
    if (s === globalThis.atob('JXM=')) s = undefined;

    /**
     * More bookmarklets at
     * https://gist.github.com/iamandrewluca/61feacf07bc4f2f50e70f986c2e9b2d2
     * When used as a browser search engine `s` will be what user typed in address bar
     * Post: https://dev.to/iamandrewluca/bookmarklets-browser-search-engine-2m30
     */
    
    // Use this to get input
    // if (!s) s = globalThis.prompt();

    /* Your code goes here */
    globalThis.console.log(s);
})(`%s`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment