[Xfce4-commits] <midori:master> Don't skip user stylesheets on special pages

Christian Dywan noreply at xfce.org
Wed Oct 26 23:14:04 CEST 2011


Updating branch refs/heads/master
         to 19b22b9ae2dbf0fbbbf06f487b3e2f5dc9ef6e85 (commit)
       from 4854e2e2d7b5c654a0f37dda558e34cb1c12a496 (commit)

commit 19b22b9ae2dbf0fbbbf06f487b3e2f5dc9ef6e85
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Oct 26 21:23:18 2011 +0200

    Don't skip user stylesheets on special pages

 extensions/addons.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/extensions/addons.c b/extensions/addons.c
index ee1a15f..190cfdb 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)


More information about the Xfce4-commits mailing list