summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/dwb.js3
-rw-r--r--src/adblock.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/lib/dwb.js b/scripts/lib/dwb.js
index 17ed0e78..116dc9da 100644
--- a/scripts/lib/dwb.js
+++ b/scripts/lib/dwb.js
@@ -31,9 +31,10 @@
_applyRequired(names, callback);
}
},
+ // Called after all scripts have been loaded and executed
// Immediately deleted from the global object, so it is not callable
// from other scripts
- _init : {
+ "_init" : {
value : function() {
_initialized = true;
var names, callback, modules, name;
diff --git a/src/adblock.c b/src/adblock.c
index 4ca6023b..03abbe91 100644
--- a/src/adblock.c
+++ b/src/adblock.c
@@ -86,7 +86,7 @@ static GSList *m_hider_list;
static GString *m_css_exceptions;
static gboolean m_init = false;
static GSList *m_css_hider_list;
-#define HIDER_LIST_MAX 500
+#define HIDER_LIST_MAX 3000
/*}}}*//*}}}*/
/* NEW AND FREE {{{*/