How about just the ability to pipe HTML pages through an external program before rendering. This should be far easier to code into Mozilla and be far more flexible than built in Mozilla substitutions.
I think that better make it in Mozilla, coz not everyone want to use external program, and not every external program is freeware. Now I'm using such program - Proxomitron - (to filter HTML) via local proxy. So if U thinking about pipening HTML to external app U can use any browser without modifications, almost all HTML filters use browser proxy settings. If it would be built in Mozilla U could turn off/on it by only one click - for example on browser Navigation bar also configuration would be easy. No more clicking 2 or more applications to turn on some feature. Also I'm thinking about easy adding new rutines. For example U load some page, and it wouldn't be filtered as U wish, so U right click on element which U don't want to see next time and in menu "Add to unwanted stuff". Easy. Mayby it would be even easier to non-proffesional/new users. Also don't forget about proffesional users - they can setup regular expressions patterns to suit their demands. But this is only wish, most important thing is to make Mozilla fast and the best browser in World :)))
you might try protozilla, i really can't imagine someone implementing this as part of the trunk.
confirming enhancement request
This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Changing the HTML source of a page could be a copyright violation,but "not loading" parts of a Web page (banners, pop-ups, flash, ...)doesn't violate any copyrights. Besides it's much easier to use,for those who don't want to learn a new regex syntax.
Hmmmm... So you are trying to say that all HTML filter applications, proxy servers (some are adding stuff to viewed pages) are copyright violation? Don't think so, you use that for viewing, you are not distributing in any way modified pages etc. Btw. Why newbie should use regexp? I'm thinking about predefined regexp rules, and ability to add new ones (for advanced users).
*** Bug 152017 has been marked as a duplicate of this bug. ***
*** Bug 159818 has been marked as a duplicate of this bug. ***
I think that the filter functions of Mozilla (spam e-mail, popup, cookies) need a consistent, regex-enabled UI. "Allow only the already existing cookies" or "Disallow any cookies except for new ones from domain xy", simple rules which are not possible yet. All filter modules should use the same data base, for example the core code of an open-source data base like mySQL. This way we can stop the bloat. Have a look at the files in the profile folder and at execution time of various events - people are already beginning to laugh!
cookies, popup windows, e-mail spam, passwords and other form auto-completion, and now the image manager. text files with *.s, *.tbl and *.w. >All filter modules should use the same data base, for example the core code of an open-source data base like mySQL. Maybe I am wrong, but I do not like featuritis.
This is not going to happen in the parser. If someone wants to write an extension to do this, please feel free to file a bug on the hooks you think you need (they would be hooks into content dispatch and necko, probably, not the parser).
Doing this with regexp would be silly anyway, IMHO. We have a DOM...