Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @run-at document-start
- // @name Bing to Duck
- // @namespace jethack
- // @description This practically stolen userscript redirects Bing searches to DuckDuckGo.
- // @include http://*.bing.com/search?*
- // @include https://*.bing.com/search?*
- // @version 1
- // @grant none
- // ==/UserScript==
- var newurl = "https://duckduckgo.com/?"+document.URL.match(/q\=[^&]*/);
- if (newurl != document.URL) location.replace(newurl);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement