
gotze
Site administrator
/ Moderator
Dec 27, 2002, 9:02 AM
Post #1 of 5
(4894 views)
Shortcut
|
Bookmarklet for Links SQL
|
Can't Post
|
|
I'm pleased to announce a new bookmarklet, I have created for Links SQL. A while ago, I created Here is the bookmarklet: GotzeLink The bookmarklet needs some modifying when 'installed'. Edit the marked (red) parts below: javascript:t=document.selection?document.selection.createRange().text:document.getSelection();void(openstring = 'http://slashdemocracy.org/links/page.php?do=add&Contact_Name=John&Contact_Email=blackhole@slashdemocracy.org&cat_id=84&URL=' + window.location.href + '&Title=' + document.title + '&Description=' + escape(t));void(window.open(openstring,'','width=900,height=400')); Contact_Name and _Email should be set to your own info, if you want to use the bookmarklet. The URL doesn't need editing if you want to use the bookmarklet with my directory, but can be used with any Links SQL directory that has enabled page.php. The php-template may be edited to fit the bookmarklet usage. To edit, load to the add.html template in the default_php stack, and edited to your liking. I've chosen to remove most of the data, such as headers etc. to make the bookmarklet pop-up as simple as possible.
(This post was edited by gotze on Dec 27, 2002, 9:23 AM)
|