* Make bookmarklet work with Mozilla
* Add variants with different formatting and popup window see http://help.antville.org/stories/467772/
This commit is contained in:
parent
38ac00b02b
commit
1590469b22
1 changed files with 8 additions and 1 deletions
|
@ -1 +1,8 @@
|
|||
javascript:blog='BLOGNAME';str='';if(top.frames.length==0)str=document.selection.createRange().text;void(location.href='http://localhost/helma/antville/'+blog+'/stories/create/?content_text='+escape('<a href="'+location.href+'">'+document.title+'</a> '+str));
|
||||
javascript:posturl='http://help.antville.org/stories/create';str='';if(top.frames.length==0)str=document.selection?document.selection.createRange().text:document.getSelection();void(location.href=posturl+'?content_text='+escape('<a href=\"'+location.href+'\">'+document.title+'</a>: '+str));
|
||||
|
||||
javascript:posturl='http://help.antville.org/stories/create';str='';if(top.frames.length==0)str=document.selection?document.selection.createRange().text:document.getSelection();void(pmentry=window.open(posturl+'?content_text='+escape('<a href=\"'+location.href+'\">'+document.title+'</a>: '+str),'antville','width=775,height=600,toolbar=0,status=1,location=0,scrollbars=1,menubar=0,resizable=1'));
|
||||
|
||||
|
||||
javascript:posturl='http://help.antville.org/stories/create';str='';if(top.frames.length==0)str=document.selection?document.selection.createRange().text:document.getSelection();void(location.href=posturl+'?content_text='+escape(str+' [via <a href=\"'+window.location.href+'\">'+document.title+'</a>]'));
|
||||
|
||||
javascript:posturl='http://help.antville.org/stories/create';str='';if(top.frames.length==0)str=document.selection?document.selection.createRange().text:document.getSelection();void(pmentry=window.open(posturl+'?content_text='+escape(str+' [via <a href=\"'+window.location.href+'\">'+document.title+'</a>]'),'antville','width=775,height=600,toolbar=0,status=1,location=0,scrollbars=1,menubar=0,resizable=1'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue