瀏覽代碼

add style but seems not to work

pull/1/head
10sr 11 年之前
父節點
當前提交
f3b27eb729
共有 1 個檔案被更改,包括 9 行新增2 行删除
  1. +9
    -2
      _keysnail.js

+ 9
- 2
_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
<><![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(){


Loading…
取消
儲存