-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
I have created 2 more branches in my fork.
The first one, dyn-final dyn-sites, implements the handling of "dynamic sites" with a mutation observer. I call dynamic sites, sites that create their form elements dynamically. These forms can't be fixed by the userscript if it doesn't watch for modifications of the DOM tree.
Since this is hostname specific, and user defined, a background page and options page have been added
A second branch, dyn-whitelist, adds support for whitelisting a domain (only for a duration of 90 seconds). Apart from an new popup.html page, the background and userscript are only very lightly modified to handle this.
Examples of dynamic site:
- www.nytimes.com - chrome creates a CSE only when the page displayed is the root index page. And you have to wait for the page to be completely loaded (our autoDetect(true,'Load') would have been fired).
- www.brico.be