Selaa lähdekoodia

add style but seems not to work

pull/1/head
10sr 12 vuotta sitten
vanhempi
commit
f3b27eb729
1 muutettua tiedostoa jossa 9 lisäystä ja 2 poistoa
  1. +9
    -2
      _keysnail.js

+ 9
- 2
_keysnail.js Näytä tiedosto

@@ -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
<><![CDATA[
input,textarea {
font-family: monospace !important;
}
]]></>.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) +
'&notes=' + encodeURIComponent('' + (window.getSelection ?
'&title=' + encodeURIComponent(document.title) +
'&notes=' + encodeURIComponent('' + (window.getSelection ?
window.getSelection() : document.getSelection ?
document.getSelection() : document.selection.createRange().text)) + '&v=6&';
a = function(){


Ladataan…
Peruuta
Tallenna