From 19b22b9ae2dbf0fbbbf06f487b3e2f5dc9ef6e85 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 26 Oct 2011 21:23:18 +0200 Subject: [PATCH] Don't skip user stylesheets on special pages --- extensions/addons.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/extensions/addons.c b/extensions/addons.c index ee1a15f5..190cfdb9 100644 --- a/extensions/addons.c +++ b/extensions/addons.c @@ -1477,13 +1477,6 @@ addons_context_ready_cb (WebKitWebView* web_view, return; uri = katze_object_get_string (web_view, "uri"); - /* Don't run scripts or styles on blank or special pages */ - if (!(uri && *uri) || !strncmp (uri, "about:", 6)) - { - g_free (uri); - return; - } - scripts_list = g_object_get_data (G_OBJECT (extension), "scripts-list"); scripts = scripts_list->elements; while (scripts)