Created
June 14, 2018 07:28
-
-
Save johnste/0e15e2c0e6dbe636e560ff202bea4367 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Rewrite all Bing links to DuckDuckGo instead | |
finicky.onUrl(function(url, opts) { | |
var url = url.replace( | |
/^https?:\/\/www\.bing\.com\/search/, | |
"https://duckduckgo.com" | |
); | |
return { | |
url: url | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment