diff options
-rw-r--r-- | src/dwb.c | 2 | ||||
-rw-r--r-- | src/dwb.h | 2 | ||||
-rw-r--r-- | src/view.c | 2 |
3 files changed, 0 insertions, 6 deletions
@@ -3476,7 +3476,6 @@ dwb_clean_up() g_string_free(dwb.state.buffer, true); g_free(dwb.misc.hints); g_free(dwb.misc.hint_style); - g_free(dwb.misc.scripts); dwb_free_list(dwb.fc.bookmarks, (void_func)dwb_navigation_free); /* TODO sqlite */ @@ -4545,7 +4544,6 @@ dwb_init_vars(void) dwb.misc.max_c_items = MAX_COMPLETIONS; dwb.misc.userscripts = NULL; dwb.misc.proxyuri = NULL; - dwb.misc.scripts = NULL; dwb.misc.hints = NULL; dwb.misc.hint_style = NULL; @@ -739,8 +739,6 @@ struct _Misc { const char *name; const char *prog_path; /* applied to the mainframe */ - char *scripts; - char *scripts_onload; char *hints; /* applied to all frames */ const char *profile; @@ -721,7 +721,6 @@ view_load_status_after_cb(WebKitWebView *web, GParamSpec *pspec, GList *gl) WebKitLoadStatus status = webkit_web_view_get_load_status(web); if (status == WEBKIT_LOAD_COMMITTED) { - dwb_execute_script(webkit_web_view_get_main_frame(web), dwb.misc.scripts, false); if (VIEW(gl)->js_base != NULL) { JSValueUnprotect(JS_CONTEXT_REF(gl), VIEW(gl)->js_base); @@ -800,7 +799,6 @@ view_load_status_cb(WebKitWebView *web, GParamSpec *pspec, GList *gl) { util_file_add_navigation(dwb.files[FILES_HISTORY], dwb.fc.history->data, false, dwb.misc.history_length); } - dwb_execute_script(webkit_web_view_get_main_frame(web), dwb.misc.scripts_onload, false); if (dwb.state.auto_insert_mode) dwb_check_auto_insert(gl); |