
Untitled
By: a guest on
May 5th, 2012 | syntax:
None | size: 0.67 KB | hits: 12 | expires: Never
// ==UserScript==
// @name Enhance Google Images
// @version 1.00
// @description Prevents window focus in Google Images (annoyance with multiple focusing tabs).
// @author XP1 (https://github.com/XP1/)
// @namespace https://gist.github.com/1101650/
// @include http*://google.*/imgres*
// @include http*://*.google.*/imgres*
// ==/UserScript==
// <script>var a = document.getElementById('rf');a && a.contentWindow && a.contentWindow.focus();</script>
/*jslint browser: true, vars: true, white: true, maxerr: 50, indent: 4 */
(function (opera)
{
"use strict";
opera.defineMagicVariable("a", function (currentValue)
{
return false;
}, null);
}(window.opera));