RE: content blocking - howto
[email protected] (HJ)
| Newsgroups | gmane.comp.mozilla.multizilla |
|---|---|
| Message-ID | <[email protected]> |
Andreas Paeffgen <[email protected]> wrote: >Hi all, >I have some troubles with the content block feature. Please note that I am still working on several improvements, all I need is some spare time to finish my work. >I normally use a whitelist for plug-ins, so generally they are accepted. >Some sites e.g.. http://www.zitty.de use flash as advertisements. Very >annoying. If i use the permission feature to block plug-ins from a >concrete site, it says ok, but does not block it. The following changes makes this work: -if (permission == UNLISTED_PERMISSION_ENTRY && patterns[contentType] != null) { +if (permission == UNLISTED_PERMISSION_ENTRY && patterns[contentType].length > 1) { -else if (behavior & BEHAVIOR_BLOCK) +else note: we need this for BEHAVIOR_BLOCK and BEHAVIOR_ASK_ME >It also does not put this site automatically on the blacklist for plug-ins. -this.updatePermissions(aURI, usersResponse, contentType); +this.updatePermissions(aURI, usersResponse, contentId); >Maybe you could describe in detail how to use this filter appropriately? Content blocking should be straightforward, at least when everything works like I have in mind. Also, I am really sorry, but I won't have time for this in the next coming months. I have deadlines to catch you know. I am still hoping to get some help from you guys. >Thanks in advance + best regards >Andreas I also changed that confirmation dialog. I replaced the Ok and Cancel button labels with Allow and Block. I also changed some other text. Everything will be part of our next update (hopefully as early as this weekend). /HJ __________________________________________________________________ Introducing the New Netscape Internet Service. Only $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp