aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-adblock-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a method to EphyAdblock interface, ephy_adblock_manager_edit_rule, soJean-François Rameau2006-01-161-0/+34
| | | | | | | | | | | | | | 2006-01-15 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/ephy-adblock.h: * lib/ephy-adblock.c: * embed/ephy-adblock-manager.h: * embed/ephy-adblock-manager.c: Add a method to EphyAdblock interface, ephy_adblock_manager_edit_rule, so one can allow/disallow an url. Add a method to EphyAdblockManager, ephy_adblock_manager_has_blocker, so one can ask it whether a blocker is running.
* Add some code so ad blocking should be more easy. Based on the fact thatJean-François Rameau2005-12-201-0/+101
2005-12-19 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/Makefile.am: * embed/ephy-adblock-manager.c: * embed/ephy-adblock-manager.h: * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-embed-shell.h: * embed/mozilla/EphyContentPolicy.cpp: (EphyContentPolicy::ShouldLoad): * lib/Makefile.am: * lib/ephy-adblock.h: * lib/ephy-adblock.c: * src/ephy-shell.c: (ephy_shell_get_extensions_manager): Add some code so ad blocking should be more easy. Based on the fact that Epiphany already has its own content policy component (EphyContentPolicy). The new design adds: - an interface, EphyAdBlock - a manager, EphyAdBlockManager, pointing to a blocker (possibly no one).