Matthew Cline wrote:
> 
> Is there any way I can create a Javascript file, that will be loaded
> by Mozilla, and have it's functions called to aprove/disaprove of
> loading the images, cookies, and applets that show up in a page?  I
> want to implement something like a Junkbuster filter, but inside the
> browser.

There are the beginnings of this, not sure how complete it is.

An example of one mechanism (raw filtering of URLs) can be found at
http://lxr.mozilla.org/seamonkey/source/netwerk/base/src/nsFilters.js

This is not a supported or documented feature and may change in the future.
The future is likely to be based on nsIContentPolicy or some expanded
version of that which will be able to filter based on more context than
simply the URL.

-Dan Veditz

Reply via email to