View previous topic :: View next topic |
Author |
Message |
smikwily
Joined: 11 Mar 2002 Posts: 45 Location: Ohio, USA
|
Posted: Fri Apr 19, 2002 4:00 pm Post subject: Right Click Posting |
|
|
Can anyone make a rightclick function to post, similar to GreyMatter? I know that there are the Bookmarklets, but I kinda liked that functionality back.
Here's the Reg file for GM, shy of anything that might allow you to sign on to my defunct GM install :)
Code: | REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Post To &Greymatter]
@="javascript:doc=external.menuArguments.document;lt=escape(doc.selection.createRange().text);loglink=escape(doc.location.href);loglinktitle=escape(doc.title);wingm=window.open('http://www.smikwily.com/cgi-bin/greymatter/gm.cgi?thomas=gmbmpost&authorname=smikwily&authorpassword=donthinkso&logtext='+lt+'&loglink='+loglink+'&loglinktitle='+loglinktitle,'gmwindow','scrollbars=yes,width=660,height=460,left=75,top=75,status=yes,resizable=yes');wingm.focus();"
"contexts"=hex:31 |
_________________ When you need a frag, I will be there... |
|
Back to top |
|
 |
michel v Site Admin
Joined: 25 Jan 2002 Posts: 799 Location: Corsica
|
Posted: Fri Apr 19, 2002 11:55 pm Post subject: Right Click Posting |
|
|
Code: | REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Post To &b2]
@="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(btw=window.open('PATHTOB2/b2bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'b2bookmarklet','scrollbars=no,width=480,height=300,left=100,top=150,status=yes'));btw.focus();"
"contexts"=hex:31 |
Try pasting it in a .reg file, replace PATHTOB2 with the complete URL of your b2 installation and double click on the file.
Untested, but should work
EDIT: doesn't work, see correct one below
Last edited by michel v on Sat Apr 20, 2002 12:24 am; edited 1 time in total |
|
Back to top |
|
 |
michel v Site Admin
Joined: 25 Jan 2002 Posts: 799 Location: Corsica
|
Posted: Sat Apr 20, 2002 12:23 am Post subject: |
|
|
Ok, here's a working one, tested with IE6 on WinXP.
Code: | REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Post To &b2]
@="javascript:doc=external.menuArguments.document;Q=doc.selection.createRange().text;void(btw=window.open('PATHTOB2/b2bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(doc.location.href)+'&popuptitle='+escape(doc.title),'b2bookmarklet','scrollbars=no,width=480,height=300,left=100,top=150,status=yes'));btw.focus();"
"contexts"=hex:31 |
Paste it in a new file, replace PATHTOB2 with the URL to your b2 installation.
Save as whatever.reg, then double click on the file.  |
|
Back to top |
|
 |
smikwily
Joined: 11 Mar 2002 Posts: 45 Location: Ohio, USA
|
Posted: Tue Apr 23, 2002 5:08 am Post subject: |
|
|
Works like a charm. Thx MV :D |
|
Back to top |
|
 |
sven
Joined: 08 May 2002 Posts: 30 Location: Central Valley Cali
|
Posted: Sat May 18, 2002 6:05 pm Post subject: |
|
|
Is there a way to add content to an existing already open bookmarklet window? Thta way I could have multiple clipings in one post.
Also, I noticed it makes the link and then repeats in regular text the same text as the link. It's repeating. Is that suppose to happen? _________________ <><sven><> |
|
Back to top |
|
 |
elaine
Joined: 27 Jul 2002 Posts: 3 Location: canada
|
Posted: Tue Jul 30, 2002 3:00 pm Post subject: |
|
|
ok..maybe i'm retarded or something...
but double click where? when i double click in the ftp program, it simply overwrites it.
thanks |
|
Back to top |
|
 |
smikwily
Joined: 11 Mar 2002 Posts: 45 Location: Ohio, USA
|
Posted: Tue Jul 30, 2002 3:13 pm Post subject: |
|
|
Copy the text from the last code box that Michael posted. Create a new text file and name it 'something.reg' (the name doesn't really matter). Paste the text into that file and modify the file so that PathTo is the path tp your b2 install on your server. Save the file and you should see an icon that looks like a piece of paper that is dog eared with rubix cube like block exploding in front of it. Double click that and answer the question with a Yes. When you relaunch Internet Explorer, you should be able to right click on a page and select 'Post to b2'. Remember though, it won't appear to you restart IE. |
|
Back to top |
|
 |
sven
Joined: 08 May 2002 Posts: 30 Location: Central Valley Cali
|
Posted: Tue Mar 11, 2003 11:05 pm Post subject: Errors |
|
|
I'm now getting errors. Any ideas? It may be a recent MS Security patch. Here's the error:
Line: 1
Char: 1
Error: 'external.menuArguments.document' is null or not an object
Code: 0
URL: javascript.doc=external.menuArguements.document;Q=doc.selection.createRange().text;void(btw=window.open('http://svenrox.com/_my_path/b2bookmarklet.php?text="+escape(Q)
Do ou want to conitnue runnign scripts on this page?
Yes pops the window open and then it disappears. _________________ <><sven><> |
|
Back to top |
|
 |
|