• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

7. Hack the Chrome Ugly > 81. Content Filter Without Your Smart Friend Noticing

Content Filter Without Your Smart Friend Noticing

Hide a content filter in Firefox’s core to make web sites vanish like Ninjas in the dark.

Blocking access to certain web sites is a common project, whether to protect one’s children from the perceived dangers of the Internet or as an April fool’s joke for a coworker or friend. Unfortunately, most existing methods fall short in one of two areas.

On the one hand, they might be too blatant in their approach, as with most proxy-based solutions, serving up a honking “this page has been blocked” replacement page instead of the requested site. On the other hand, the hosts file is hard to keep secure and safe from tampering.

By injecting a few lines of code into Firefox’s core, we can get a subtle, effective, and almost undetectable way of preventing the browser from visiting less-than-desirable sites. As a bonus, we can even trick the unlucky user into thinking that the problem lies on the remote server’s end rather than the user’s.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint