Comments by znerp on scripts

172 comments

Comment on:
imdb ratings adder.

Aug 17, 2008

@Guybrush: That would be possible. Just change lines 25 and 26 of my script to the following and this should do the trick...

        if (rating) node.insertBefore(document.createElement("b"),node.getElementsByTagName("a")[node.getElementsByTagName("a").length-1]).innerHTML = "[" + rating[1] + "] ";
        else node.insertBefore(document.createElement("b"),node.getElementsByTagName("a")[node.getElementsByTagName("a").length-1]).innerHTML = "[??/10] ";
EDIT: Ignore what I wrote above, just install the newest version.

Comment on:
Facebook View Photo in Album

Aug 16, 2008

@lukenn: I've just installed the script on a new profile and the 'Back to Album' link seems to be working on both the new and the old facebook.

Comment on:
google extra

Aug 12, 2008

@switzerland: I've had a more detailed look, and it looks like the white 'p' on a red background signified that that feature is only available for Premium subscribers to dictionary.com. If you are a premium subscriber though, or you would still like to see the image, you can simply change line 717 of the script to...

dict.replace(/href=\"\//g, "href=\"http://dictionary.reference.com/").replace(/<\/?noscript>/ig, "") +

Comment on:
google extra

Aug 12, 2008

@switzerland: I'm at work at the moment and my screenshot's been blocked by our over-zealous internet access policy. I'll have a look when I get home, but I would imagine that possibly the dictionary.com interface has changed in the past year since I took the screenshot hence the lack of this white p. With respect to the speaker image, as I said before - I don't know if this is possible or if it's ever actually worked with this script.

Comment on:
google extra

Aug 11, 2008

@switzerland: I can't see what you mean by the white p on red background. Could you give me an example word where this should show? I've tried to get the loudspeaker to appear, but I think because it uses an embedded flash object it wouldn't be possible to play the sound.

Comment on:
google extra

Aug 10, 2008

@kaamos: I've installed this GoogleMonkeyR script and I can see the problem you're having (as per Ronen's pictures), but I also have the exact same problem with it running over sponsored links too. Perhaps you should take this up with the author of that script.

Comment on:
Facebook View Photo in Album

Aug 9, 2008

@Mzrc: To install userscripts you need Firefox and the Greasemonkey extension for Firefox. When you have both come back and install the script by clicking on the install button.

Comment on:
Performance Increases

Aug 3, 2008

I know you mentioned it, but every time I update my Google Extra script, it takes a good 10 minutes or so to load the page (freezing Firefox in the process). This isn't something I have to do hugely often, but it is quite an annoyance. Any improvements to that situation are very welcome.

Comment on:
Userscripts comment helper

Aug 3, 2008

@jerone, dob: This can be easily fixed. Line number 123 checks for links with ;edit in their href which worked fine until there were some changes on us.o and this could simply be changed to /edit to fix that problem. Since editing comments has been introduced, this script also doesn't work when perfomring this, so I've personally fixed this by changing that line of code to search for the word 'edit' in the textcontent of links on the page, that is I've changed line 123 to the following;

edits=document.evaluate('//a[contains(text(),"Edit")]',document,null,null,null)

Comment on:
google extra

Jul 31, 2008

@Ronen: I don't know an easy way to do that off the top of my head, but if you really want this then I suggest you pose the same question on the Forums section of this website.

Comment on:
google extra

Jul 31, 2008

@Guybrush: Thanks for the details on this. I believe I've fixed the issue now.

Comment on:
google extra

Jul 31, 2008

@Ronen: It still seems to be working for me. What google site are you using? Also, is anyone else experiencing problems?

Comment on:
Facebook View Photo in Album

Jul 29, 2008

@Jenn9219: I'll give you the same response I give everyone who asks this; you can do this by adding that person as a friend. Otherwise, just give up.

@BluTch and Compass: I'll look at updating this when I have time. This could be a while though. I believe the old facebook layout's still working, so feel free to switch to that when using this script in the meantime.

Comment on:
facebook left menu always expanded

Jul 29, 2008

@Compass: I will look into fixing this when I have time. I have a lot on at the moment so it might be a week or so.

Comment on:
google extra

Jul 29, 2008

@atlas: Interesting points, the flickr one should be simple enough so I might look into that and see how the results compare to a google image search. Also, I don't know how different other language versions of wikipedia are, but I will also look into that. It might be a while before I implement these though if I decide to; I have a lot on at the moment.

Comment on:
Facebook View Photo in Album

Jul 28, 2008

@BungaDunga: That's great, but feel free to suggest fixes as well if it breaks then :P

Comment on:
Facebook View Photo in Album

Jul 28, 2008

@Jenn9219: No. Read my explanation of the script above.

Comment on:
Facebook View Photo in Album

Jul 28, 2008

@Martin Stone: I'll try to look at this in the next few days. I'm not a huge facebook user so I tend to leave bug reports to the people who use my scripts. What adds to this challenge I guess is that currently there are basically two facebook sites I need to make the scripts work with.

@BungaDunga: As long as you're not providing the same features as my script I wouldn't have a problem with this. If you're borrowing chunks of code though I wouldn't mind some credit, but other people have used my entire scripts only changing very little without telling/acknowledging me, so I'm easy about it really.

Comment on:
Facebook View Photo in Album

Jul 25, 2008

@Martin Stone: I had more time tonight than I'd thought, and it was a pretty simple fix. Should be working now.

Comment on:
Facebook View Photo in Album

Jul 25, 2008

@Martin Stone: I've only just heard of this new interface this morning, but I'll have a look when I get time. I'm away this weekend so it looks like that might have to be early next week before I can put out a fix for this.

If you're interested in poking around though, from what you've said it sounds like the problem will be in my XHR. The most likely issues with it is that the link for the next photo can't be found/is wrong, or the format of the html in the new interface will be different and this will breaks the script.

Comment on:
google extra

Jul 15, 2008

@jeremyo: I'm afraid I don't have any other versions of this script other than this one. I don't believe that anything major has changed with this script in the last few months that may have caused it to suddenly stop working. I guess you could try one of the other versions of my script that people have adapted, which I can't personally vouch for but they will likely be modified from earlier versions of this script.

Comment on:
imdb ratings adder.

Jul 8, 2008

@janke100: It would be possible to do the same thing for rottentomatoes, but that's not something I'd be interesting in doing. I suggest you post this in the ideas and script requests section of the forum.

Comment on:
google extra

Jun 26, 2008

@m0mm0 & Brandyn: I've changed the includes as per your requests, but I'm not overly happy about this. I'm going to be away from my computer for some time so I won't be able to make further changes for the next week or so but it almost definitely will cause problems with other pages on google and fill error consoles with various issues.

Comment on:
google extra

Jun 25, 2008

@Ronen: It would be possible, you'd just need to change this image, replacing the icons you want with the corresponding ones for your links. You'd then need to host it somewhere (or change it to a data url, which I really should do for the actual script), and change the line in the script that references it.

Comment on:
google extra

Jun 23, 2008

@possumboy: Thanks, glad you like it.

@joppe: 1 - It would be possible, but not really in my interest to do this. If you were going to have a go though, I could give you a brief overview in way of a pointer.
2- I did some reading on this in December when someone posed a similar question on one of my other scripts. The issue with that is that the GM_xmlhttprequest function is not supported in Opera, and since this script relies somewhat heavily on that function, this wouldn't be possible.

@m0mm0: Thanks for the feedback. Can you give me an example url that would need to be included? The icons have worked for every http://www.google.tld/ that I've tried it with.