Don't skip user stylesheets on special pages
This commit is contained in:
parent
4854e2e2d7
commit
19b22b9ae2
1 changed files with 0 additions and 7 deletions
|
@ -1477,13 +1477,6 @@ addons_context_ready_cb (WebKitWebView* web_view,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
uri = katze_object_get_string (web_view, "uri");
|
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_list = g_object_get_data (G_OBJECT (extension), "scripts-list");
|
||||||
scripts = scripts_list->elements;
|
scripts = scripts_list->elements;
|
||||||
while (scripts)
|
while (scripts)
|
||||||
|
|
Loading…
Reference in a new issue