From f3b27eb72990010018f196c57775da67016bf2b6 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 24 Oct 2012 20:30:14 +0900 Subject: [PATCH] add style but seems not to work --- _keysnail.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/_keysnail.js b/_keysnail.js index 4246aa5..e7922d2 100644 --- a/_keysnail.js +++ b/_keysnail.js @@ -26,6 +26,13 @@ function ignore(k, i) [k, null]; /////////////////////////////////////////// //// firefox // style.register("#bookmarksPanel > hbox,#history-panel > hbox {display: none !important;} //#urlbar-container{max-width: 500px !important;}"); +style.register( //not work + <>.toString() +); /////////////////////////////////// //search engine @@ -224,8 +231,8 @@ ext.add("strong-fullscreen", function(){ ext.add("bookmark-delicious", function(){ f= 'http://www.delicious.com/save?url=' + encodeURIComponent(window.content.location.href) + - '&title=' + encodeURIComponent(document.title) + - '¬es=' + encodeURIComponent('' + (window.getSelection ? + '&title=' + encodeURIComponent(document.title) + + '¬es=' + encodeURIComponent('' + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text)) + '&v=6&'; a = function(){