/**
* @author https://codepen.io/bookmarklets
* @file Image Combo Tool
One tool will reverse image search in Bing, Tineye or Google as well as extract EXIF data
* Original Source {@link https://cdpn.io/bookmarklets/fullpage/NobJbq#}
*/
javascript: if(document.getElementById('mymenu')) {
document.getElementById('mymenu').remove();
}else{
function hideMenu() { document.getElementById('mymenu').remove(); } var url=location.href; var ext = url.split('.').pop(); if(ext.includes('jpg' || 'png' || 'gif' || 'jpeg') !==true) { alert('Selected URL does not have an image extension (PNG|JPG|JPGE|GIF).\nOpen the image you want to search in its own window.\Attempting anyway...'); } var block_to_insert ; var container_block ; var goog = ' Google Reverse Image Search'; var bing = ' Bing Reverse Image Search'; var exif = 'EXIF Data Extraction ① ';
var jeff ='③';
var tineye = ' Tineye Reverse Image Search';
var karma= ' KarmaDecay Reddit Image Search';
function information(){alert('This tool is designed to work on a single image.\nONE IMAGE PER PAGE!\nOpen just one image at a time in a new tab.')};
var info = 'ⓘ';
var I = document.getElementsByTagName('IMG')[0];
var sizer='Image size is: ' + I.naturalWidth+ 'px wide x ' +I.naturalHeight + 'px high\nFileType: ' + fileType + '\nSource: ' + I.src;
var res = url.split('?');
var extArray = ext.split('?');
var fileType = (extArray[0]);
var exifDataQuery=(res[0]);
var exifDataCom='
| 1.) | '+ goog+ ' | ||
| 2.) | ' + bing + ' | ||
| 3.) | ' + tineye + ' | ||
| 4.) | ' + karma + ' | ||
| 5.) | ' + exif + ' ' + exifDataCom + ' ' + jeff +' | ||
| ⇅ | 6.) | Size of Image | ' + info + ' |