This project is read-only.
5

Closed

GUI for adding/editing rules

description

It looks like if I implement IHTMLEditDesigner, I can get mouse events from the DOM (i.e., find out what element was clicked). That would make it easy to mimic the Developer Tools interface in terms of clicking a DOM element and choosing to create a rule from it (like Adblock does in Firefox).
 
So:
 
1) Intercept click events on DOM objects
2) Add context menu entry ("new adblockie rule")
3) Pop up modal window for editing the rule (text field for the rule expression, and a radio button for black/whitelist)
4) User blacklist to augment the installed one. Since the BHO runs low-rights (when protected mode is on), we can't edit the blacklist.xml that's installed in %ProgramFiles% directly
 
Note that item 3 (the GUI look) is dependent upon my not changing the rule format, which I'm tempted to do.
Closed Mar 10, 2015 at 4:47 PM by AdblockPlus

comments

AlexBar wrote Jun 2, 2009 at 10:06 PM

Look at SpicIE project http://code.msdn.microsoft.com/SpicIE and http://code.msdn.microsoft.com/SpicIEContrib, seems it contains functionality that you need.

wrote Jun 3, 2009 at 11:35 AM

wrote Nov 4, 2009 at 2:21 PM

wrote Apr 19, 2010 at 11:13 PM

wrote Feb 3, 2011 at 8:01 PM

wrote Feb 22, 2013 at 1:34 AM

wrote Mar 10, 2015 at 2:21 PM

wrote Mar 10, 2015 at 4:47 PM