Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save luckycdev/c08935496b830b757f05f07959f9a674 to your computer and use it in GitHub Desktop.
Save luckycdev/c08935496b830b757f05f07959f9a674 to your computer and use it in GitHub Desktop.
bookmarklet to reverse image search using tineye on the current tab

Code:

javascript:
var a="https://tineye.com/search?url=";
var b=location.href;
var c=confirm("Are you sure you would like to reverse image search this?\nMake sure the url ends in a image file such as .png .jpg .gif etc.\nTo get this right click on the image and press Open image in new tab"); 
if(c!=false)
{
open(a+b);
}

Bookmarklet:

javascript:var a="https://tineye.com/search?url=";var b=location.href;var c=confirm("Are you sure you would like to reverse image search this?\nMake sure the url ends in a image file such as .png .jpg .gif etc.\nTo get this right click on the image and press Open image in new tab");if(c!=false){open(a+b);}
javascript:var a="https://tineye.com/search?url=";var b=location.href;var c=confirm("Are you sure you would like to reverse image search this?\nMake sure the url ends in a image file such as .png .jpg .gif etc.\nTo get this right click on the image and press Open image in new tab");if(c!=false){open(a+b);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment