浏览代码

add style but seems not to work

pull/1/head
10sr 12 年前
父节点
当前提交
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(){


正在加载...
取消
保存