summaryrefslogtreecommitdiff
path: root/doc-src
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-10-29 13:18:51 +0100
committerSarven Capadisli <csarven@status.net>2009-10-29 13:18:51 +0100
commitf0abc0fe15a54da468cf37e748041bba4f362e53 (patch)
tree4116962fad750385464a90ca2910682dc7d4c76a /doc-src
parent2b5a5e02a4c4bd3861074990ba523ce21cb2749a (diff)
Updated bookmarklet. Created its own action
Diffstat (limited to 'doc-src')
-rw-r--r--doc-src/bookmarklet2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc-src/bookmarklet b/doc-src/bookmarklet
index e5ded7702..0aa9e1e49 100644
--- a/doc-src/bookmarklet
+++ b/doc-src/bookmarklet
@@ -2,4 +2,4 @@ A bookmarklet is a small piece of javascript code used as a bookmark. This one w
Drag-and-drop the following link to your bookmarks bar or right-click it and add it to your browser favorites to keep it handy.
-<a href="javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://%%site.server%%/%%site.path%%/index.php?action=newnotice',l=d.location,e=encodeURIComponent,g=f+'&amp;status_textarea=%22'+((e(s))?e(s):e(document.title))+'%22 from '+l.href;function%20a(){if(!w.open(g,'t','toolbar=0,resizable=0,scrollbars=1,status=1,width=800,height=570')){l.href=g;}}a();void(0);">Post to %%site.name%%</a>
+<a href="javascript:(function(){var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://localhost/dev/index.php?action=bookmarklet',l=d.location,e=encodeURIComponent,g=f+'&status_textarea=%22'+((e(s))?e(s):e(document.title))+'%22%20%E2%80%94%20'+l.href;function%20a(){if(!w.open(g,'t','toolbar=0,resizable=0,scrollbars=1,status=1,width=650,height=200')){l.href=g;}}a();})()">Post to %%site.name%%</a>