Letractively / thedudes

Automatically exported from code.google.com/p/thedudes
0 stars 0 forks source link

Links not working on Amazon (solution provided in this post) #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. visit any amazon dvd or blu-ray page

What is the expected output? What do you see instead?
expect to see links added by movie-dude.  no links show up.

What version of the product are you using? On what operating system?
1.7.10 on firefox 3.6 Win 7

Please provide any additional information below.
I modified the amazon section of the script to the following, which appears
to work (I'm not very good with xpath so hopefully this is bug-free):

am_us: {
        name: "Amazon (US)",
        xpath: "//span[@id='btAsinTitle']",
        icon: "http://www.amazon.com/favicon.ico",
        link:
"http://www.amazon.com/s/?url=search-alias%3Ddvd&field-keywords={search}",
        scanURL:"amazon.com",

        validPage: function(pageTitle){return (pageTitle.indexOfAny(["Movies"]) >
-1);}
    },

Original issue reported on code.google.com by losmuer...@gmail.com on 24 Apr 2010 at 11:24

GoogleCodeExporter commented 8 years ago
Just found your script, and it is an awesome idea!!! Just what I was looking 
for. 
Sadly, the links do not show up on amazon for my.  Using firefox 3.6 portable 
with
WinXP.  No icons appear, however other sites work correct.

Original comment by andre.j....@gmail.com on 3 May 2010 at 6:37

GoogleCodeExporter commented 8 years ago
did you try replacing the right section of the script with the section from 
above? 
Also, if you're in a country other than the US and visit amazon.uk for example, 
you'd
have to modify that particular section in the script.

Which amazon site do you visit?  I may be able to create a section for you 
since the
only ones included appear to be US, Canada, and UK.

Original comment by losmuer...@gmail.com on 3 May 2010 at 6:48

GoogleCodeExporter commented 8 years ago
The Movie Dude is my first Greasemonkey script I have used.  I guess I misread 
your
post, and thought that the change had been applied to the source script I 
downloaded.
 I just fixed it up, and it works great!!!

Original comment by andre.j....@gmail.com on 3 May 2010 at 7:28