Browse Source

add ext

pull/1/head
10sr 12 years ago
parent
commit
7e5b949af7
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      _keysnail.js

+ 9
- 0
_keysnail.js View File

@@ -158,6 +158,15 @@ plugins.options["twitter_client.use_jmp"] = true;
////////////////////////////////////////////
// my ext

ext.add("open-url-from-clipboard", function(){
var list = command.getClipboardText().split("\n");
for(var i = 0; i < list.length; i++){
if(list[i] != ""){
gBrowser.loadOneTab(list[i], null, null, null, false);
}
}
}, "open tabs of newline separated url list from clipboard");

ext.add("list-url", function(){
var urls = [];
var aa = window.content.document.getElementsByTagName("a");


Loading…
Cancel
Save