Home » Questions » Computers [ Ask a new question ]

Block a URL at browser level

Block a URL at browser level

Does anyone have a solution (that doesn't involve editing the hosts file) to block a particular URL from FireFox?

Asked by: Guest | Views: 47
Total answers/comments: 2
Guest [Entry]

"The way I would do it is to install greasemonkey (if you don't already have it)

Then you could write your own script (right click the icon, add new user script). When it asks you where to apply it to, enter ""http://*superuser.com/*""

The script contains:

window.location.href = ""about:blank"";

During your lunch-break you simply de-activate that script from greasemonkey"
Guest [Entry]

Use AdBlock Plus to block URLs from the browser