Browse Source

add ext post-to-posterous

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

+ 6
- 0
_keysnail.js View File

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

ext.add('post-to-posterous', function (ev, arg) {
if (window.loadURI) {
loadURI("javascript:var%20b=document.body;var%20POSTEROUS___bookmarklet_domain='http://posterous.com';var%20d=new%20Date();var%20e=(new%20Date(d.getFullYear(),d.getMonth(),d.getDate())).getTime();if(b&&!document.xmlVersion){void(z=document.createElement('script'));void(z.type='text/javascript');void(z.src='http://posterous.com/javascripts/bookmarklet2.js?'+e);void(b.appendChild(z));}else{}");
}
}, 'post to posterous');

ext.add("echo-tab-info", function(){
var all = gBrowser.tabs.length;
var ix = gBrowser.mCurrentTab._tPos;


Loading…
Cancel
Save