Google Search - Always Show Image Size

Forces Google Image Search to display sizes for all the images by default.

2018-04-26 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name    Google Search - Always Show Image Size
// @name:fr    Google Search - Toujours afficher Taille de l'image
// @name:de    Google-Suche - Bildgröße immer anzeigen
// @name:ru    Поиск Google - всегда показывать размер изображения
// @name:es    Google Búsqueda - Mostrar Siempre Tamaño Imagen
// @description  Forces Google Image Search to display sizes for all the images by default.
// @description:fr  Force la recherche d'images Google pour afficher les tailles de toutes les images par défaut.
// @description:de  Erzwingt Google Bildersuche standardmäßig die Anzeige von Größen für alle Bilder.
// @description:ru  Заставляет Google Image Search отображать размеры для всех изображений по умолчанию.
// @description:es  Obliga a Google Image Search a mostrar tamaños para todas las imágenes de forma predeterminada.
// @namespace  iamMG
// @license MIT
// @version     1.0
// @icon    https://i.imgur.com/Xy9vHSR.png
// @include     /(http|https):\/\/www\.google\.(ca|co\.in|co\.uk|com|com\.br|de|es|fr|it|pl|ru)\/search\?/
// @author      iamMG
// @run-at      document-start
// @grant       none
// @copyright 2018, iamMG (https://openuserjs.org/users/iamMG)
// ==/UserScript==
var CurrentUrlSearch = location.search;
/* Tests that "&tbm=isch" exists in URL (confirms whether it is Image Search or not). Won't run if Sizes are already being displayed */
if (/&tbm=isch/.test(CurrentUrlSearch) && !/tbs=imgo:1/.test(CurrentUrlSearch)) {
  var newURL = window.location.protocol + "//" + window.location.host + window.location.pathname + CurrentUrlSearch + "&tbs=imgo:1";
  window.location.replace(newURL);
  return;
}
/* This is my script. Do leave a constructive feedback. :) */