NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name F*ck IIMA // @author jadyboy // @description Use this script to bypass antivirus verification at IIMA // @version 2019.08.08 // @supportURL https://www.reddit.com/user/jadyboy // @updateURL https://openuserjs.org/meta/jadyboy/Fck_IIMA.meta.js // @downloadURL https://openuserjs.org/src/scripts/jadyboy/Fck_IIMA.user.js // @include https://*.iima.ac.in/* // @run-at document-start // @version 1.1 // @license GPL-3.0-or-later // ==/UserScript== if (window.location.href != 'about:blank') { GM_xmlhttpRequest({ method: 'GET', url: window.location.href, headers: { 'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.75 Mobile/14E5239e Safari/602.1', 'Accept': '*/*', }, onload: function(response){ var data = response.responseText; addJS_Node (null, null, fireNewTab, data, fireNewTab ); } }) function fireNewTab (data) { var newTab = window.open ('about:blank', '_blank'); newTab.addEventListener ( "load", function () { //--- Now process the popup/tab, as desired. var destDoc = newTab.document; destDoc.open (); destDoc.write (decodeURI(data)); destDoc.close (); }, false ); } function addJS_Node (text, s_URL, funcToRun, data, runOnLoad) { var D = document; var scriptNode = D.createElement ('script'); if (runOnLoad) { scriptNode.addEventListener ("load", runOnLoad, false); } scriptNode.type = "text/javascript"; if (text) scriptNode.textContent = text; if (s_URL) scriptNode.src = s_URL; if (funcToRun) scriptNode.textContent = '(' + funcToRun.toString() + ')("' + encodeURI(data) +'")'; var targ = D.getElementsByTagName ('head')[0] || D.body || D.documentElement; targ.appendChild (scriptNode); } }