Don't skip user stylesheets on special pages

This commit is contained in:
Christian Dywan 2011-10-26 21:23:18 +02:00
parent 4854e2e2d7
commit 19b22b9ae2

View file

@ -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)