hi,

I tried the Official drigg Bookmarklet provided at the bottom of http://www.drigg-code.org/pages/download_and_install

it looks like this:

<a href="javascript:q=(document.location.href);t=(document.title);void(open('http://WWW.EXAMPLE.COM/node/add/drigg?url='+escape(q)+'&title='+escape(t),'','resizable,location,menubar,toolbar,scrollbars,status'));" title="Submit to EXAMPLE.COM" alt="Submit to EXAMPLE.COM">
<img src="http://WWW.EXAMPLE.COM/path_to_your_image.png" /></a>

Problems with this official Bookmarklet:
1) When I drag-and-drop it into my browser's (Firefox) toolbar, it's name is displayed not as "Submit to Example.com" , but as javascript:1=(docum...

2) When I mouseover it the alt text does not display "Submit to Example.com", but instead it displays the whole javascript code ... javascript:1=(document, etcetera etcetera...

3) When I click it the popup window in Firefox still opens behind *not in front of* the current window. Maybe this article will help

(sorry to put 3 issues under the same bug report. But since it's just one bookmarklet, I thought it would be appropriate)

Comments

mercmobily’s picture

Hi,

I updated the code in the instructions page -- sorry.
Basically, you need to add an alt="" in the image's tag.

I also tested the code, and around here the new window comes ON TOP of the existing one. I also put the "live" result on the site, so that you can test it.

One note: make sure the bode is in ONE LONG LINE when you paste it to a Drupal page. Even "full HTML" will insert <br/> which will confuse the browsers.

All good?

Merc.

drupalina’s picture

All good with that updated bookmarklet code (shows title and alt no probs), but the popup window _in Firefox_ will still open behind the current window. This is a know issue with Firefox (something to do with setTimeout command) and there are ways around it so that it opens on top of the current window.

mercmobily’s picture

Hi,

I tried with two different firefoxes, and everything is fine here.
I don't suppose others could try this and report back?

Merc.

drupalina’s picture

I'm using Firefox/2.0.0.13 with Windows XP SP2

Users of Drigg Bookmarklet, please report how your Bookmarklet is opening in Firefox (above the current wndow or behind it)?

[please include the number of your version of Firefox]

Thanks.

mercmobily’s picture

Hi,

One hint: testers can use the one here:

http://www.drigg-code.org/pages/download_and_install

At the bottom of the page. It won't "work" (it uses example.com), but it won't matter: the issue is whether the new window is in front or behind the current one.

Merc.

unmicdrac’s picture

Hi!
I have tried the bookmarklet, it works fine for me and couple of beta testers, both in firefox and ie 6&7. The new window opens in a another tab for me and, I am not sure, but it actually depends on how your browser it is configured.
I would have a request, if it is posible. On the website I am using drigg module on I need also to add a small excerpt from the scoops submited. I have the url, the title, but I do not know what to add to the javascript code as to insert a portion of the text of the article. If it helps in any way here is the website http://blogoree.ro
Thanks,
Eugen,

mercmobily’s picture

Hi,

Please do not hijack existing thread with unrelated requests.
Unfortunately, what you are asking for is not actually possible. The javascript would have to be able to work out where the actual page contents start, and that's simply not possible. All you can pass is the title (which you have between the <title> tags) and the URL (which is the one you are currently visiting when you click on the bookmark).

Drupalina, I tested it from 3 more machines with FF and Explorer, and they all seem to work file -- the window comes on top.

I think it's a configuration issue in your Firefox.

I tend to think that this bug should be marked as "Fixed".

Merc.

drupalina’s picture

IE 6 or 7 are not the issue. FF is the issue here.
Please don't mark it as fixed just yet.
I'll ask my end users to test the Official bookmarklet with their FF and I will report back here ... Just give it 2-4 days.

cheers

mercmobily’s picture

Hi,

OK.

Merc.

mercmobily’s picture

Priority: Normal » Minor
mercmobily’s picture

Hi,

I have received more reports that this issue is actually fixed.
Can you please confirm?

Merc.

drupalina’s picture

hi,
I've been asking my end-users to test this bookmarklet, but not too many people have tested it in FF to confirm reliable results. From what I hear so far, from the very few reports is that this official bookmarklet opens up ubove the current window.
But they say it's unable to prepopulate titles in languages other than English. (my original bookmarklet can do that).

I'd wait for some more tests and reports from end-users, unless you want to close this and move on...

mercmobily’s picture

Status: Active » Fixed

Hi,

The bookmarklet not working for languages other than English is a different issue.
I would _honestly_ close this one; however, _please_ open a new one if you can confirm that the bookmarklet doesn't populate non-english stories!

Merc,

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.