summaryrefslogtreecommitdiff
path: root/webext-piper.c
diff options
context:
space:
mode:
authormiguel <miguel@localhost>2018-03-20 20:03:00 +0100
committermiguel <miguel@localhost>2018-03-20 20:03:00 +0100
commit50d2341c2d13acbb610a8657b73a56db62a8eb62 (patch)
tree0c6a90ce2034012825bf563891b34189784a82ef /webext-piper.c
parent5389c0ccce709b101505725ac258b2fa74c52fee (diff)
disable the dark-theme by default AND add x for closing window
Diffstat (limited to 'webext-piper.c')
-rw-r--r--webext-piper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/webext-piper.c b/webext-piper.c
index 7dd1e87..80c765c 100644
--- a/webext-piper.c
+++ b/webext-piper.c
@@ -69,6 +69,8 @@ void show_hints(WebKitDOMHTMLDocument *doc)
char buf[1024];
WebKitDOMHTMLAnchorElement *node = webkit_dom_html_collection_item (links,i);
WebKitDOMClientRect *rect=webkit_dom_element_get_bounding_client_rect (node);
+// snprintf(buf,1024,"LINK: %d",i);
+// webkit_dom_element_set_inner_html(node,buf,NULL);
snprintf(buf,1024,"<span class='%s' style='"\