Skip to content

Instantly share code, notes, and snippets.

@Shujito Shujito/bookmarklets.md
Last active Jul 12, 2018

Embed
What would you like to do?
Useful bookmarklets

Useful Bookmarklets

How to use:

Create a bookmark and replace URL with either of the listed codes

Easier: (google chrome)

  • Triple click to the whole thing
  • COPY!
  • Now hit [CTRL] + [D]
  • Hit edit
  • Tip: Use a short name for it, for it'll lack an icon
  • Paste in URL field
  • Save in bookmarks toolbar (keep it visible)

Google image search:

Open image in new window, hit the bookmark.

javascript:location.href='https://www.google.com/searchbyimage?image_url='+encodeURIComponent(location.href)+'&safe=off'

Current YouTube video's channel's videos as playlist

Open a youtube video, hit the bookmark.

javascript:{let{host,search}=location;host.match(/youtube.com$/g)?((search.match(/&list=UL$/g)||(location.search.match(/list=|index=/g)||[]).length===2)?alert('already a list?'):(search.match(/^\?v=/g)?location.href+='&feature=mfu_in_order&list=UL':alert('is this a video?'))):alert('is this youtube?')}

IQDB (search for anime images)

Open image in new window, hit the bookmark.

javascript:location.href='https://iqdb.org/?url='+encodeURIComponent(location.href)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.