Created
January 7, 2024 17:06
-
-
Save mcjcloud/e14d08247cf6c9547acc4302df7ab269 to your computer and use it in GitHub Desktop.
Block facebook
This file contains 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
function FindProxyForURL(url, host) { | |
alert(JSON.stringify({ url, host })); | |
if (url.includes('facebook.com')) { | |
return 'PROXY 127.0.0.1:4916;'; | |
} | |
return 'DIRECT'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment