Greasy Fork is available in English.

Amazon - Highlight resellers

See instantly if the product really comes from Amazon or from a reseller

< Părere la script-ul Amazon - Highlight resellers

Recenzie: Bun, script-ul merge

§
Postat în: 24-10-2022

Hello,

Amazon Belgium at https://www.amazon.com.be/ just launched and I would like to know if your script could also include it one day please ?

Thank you for your answer.

Google Chrome Browser with Tampermonkey

GraphenAutor
§
Postat în: 24-10-2022
Editat în: 24-10-2022

I think I got that with version 1.4.0
Please give it a try
Thanks for the notice

GraphenAutor
§
Postat în: 25-10-2022

Hm I got Firefox with Tampermonkey and it works. Please make sure you have updated the browser, the extension and the script.

I got a guess. They may have already butchered the @include function with their sh#!%$ manifest v3.

Try adding

// @match        *.amazon.com.be/*
// @match        *://amazon.com.be/*

to the script header.

Unfortunately in the future I cannot switch from @include to @match as it would be a HUGE list of domains and derivates for protocols, subdomains and so on. Furthermore the @include is more granular, preventing script injection on pages that don't need it and thus not causing overhead / possible slowness.

Thank you for the detailed response, the links and screenshots are helpful.

§
Postat în: 25-10-2022

Google Chrome, Tampermonkey and Amazon - Highlight resellers are all up to date.
But sometimes, it can work for one browser and not for the other because they have differences.
I tested what you recommended me, but it still didn't work...

The update to version 1.4.1 still doesn't work and I transmit you new screenshots made with it :
- https://up2sha.re/media/raw/JCtKMe.jpg?token=C2Q9kJN0zOl5iJxzB6iIFQbwweHDSEoE
https://www.amazon.com/dp/B003LS1MM8

- https://up2sha.re/media/raw/2a24m7bpOn66J9KUve.jpg?token=zleLeq2QkFy24TjtQPJNuUtAvFeGRVsl
https://www.amazon.ca/dp/B003LS1MM8

- https://up2sha.re/media/raw/TkbUy6.jpg?token=yiX1%2FUOpp%2BSmLVZ0nEnsTUGFOPAiQ3bw
https://www.amazon.co.jp/dp/B003LS1MM8

- https://up2sha.re/media/raw/kdsspLWVItRZUJ9cmg.jpg?token=vBiUw5Gj2kEHNMHzKmFRV2lCc8yMEFxE
https://www.amazon.co.uk/dp/B003LS1MM8

GraphenAutor
§
Postat în: 30-10-2022

Thanks for the answer.

I gave it some love (version 1.5.0) - please see if everything works for you now. Unfortunately the different regions use different structures and I have to rely on text, which is quite messy.

§
Postat în: 30-10-2022

Hello again,

The script works for all languages like this :

In fushia :
- amazon.com
- amazon.ca
- amazon.in
- amazon.sg
- amazon.cn -> 亚马逊英国 = Amazon UK isn't highlighted


In green :
- amazon.co.uk
- amazon.co.jp
- amazon.com.be
- amazon.com.tr
- amazon.de
- amazon.nl
- amazon.com.br -> Sometimes like with this example link : https://www.amazon.com.br/dp/B077BY5PQL

I don't know what color it's because it almost looks like black :
- amazon.fr -> However, before the version 1.5.0 the highlighting was fushia
- amazon.es -> However, before the version 1.5.0 the highlighting was fushia
- amazon.it -> However, before the version 1.5.0 the highlighting was fushia
- amazon.se
- amazon.ae
- amazon.com.mx
- amazon.com.br -> Sometimes like with this example link : https://www.amazon.com.br/dp/B077BY5PQL

Do you see the same as me ?

If you don't mind of course, it's really useful to indicate in the description of your script that the "Highlight resellers" are fushia and green so that people don't think that the script doesn't work if the "Highlight resellers" are not fushia :-)

I hope this can help you :-)

GraphenAutor
§
Postat în: 30-10-2022

Ah yes, that should be in the description. I thought it's obvious that green = good = sold and shipped by amazon. For everything else where a third party is involved, it gets highlighted in fuchsia (red would be error and yellow is badly visible, so i chose pink).

That behaviour should be the same for every language. I probably need to recheck the script.

Thanks for noticing bugs.

GraphenAutor
§
Postat în: 30-10-2022

Ok seems like there is another new design structure. If it is not recognized by the script, it stays in it's default grey. Example: https://www.amazon.fr/dp/B07CCHDPTQ/

But I don't think that it was highlighted before?

Cyrillic, Asian and Arabic languages are hard to test for me because I can't read it.

GraphenAutor
§
Postat în: 30-10-2022

By the way you can just edit the script to change the color to your needs. I have a darkstyle, so the dark green is much more visible than in the original with white background.

Of course you could also make it bold, huge, underlined... Adding it as options is too much work for me. Easier to edit the small script itself.

§
Postat în: 30-10-2022

Okay, since the beginning on my side with the version 1.3.1 :
- amazon.fr
- amazon.es
- amazon.it
had the sale, the shipping and Amazon highlighted in fushia. So I thought that if those words weren't highlighted in fushia the script didn't work properly because it wasn't highlighted in green when all the conditions were met...

I note that Amazon doesn't have the same pages for all regions...
Otherwise, where I can find the right codes to customize your script without problems please ?

GraphenAutor
§
Postat în: 30-10-2022

I gave it another update. Please don't hesitate to report bugs (best with link + screenshot).

If everything is grey it means the script is not working. If anything is green or fuchsia it works. There may be parts of text that are still grey (hard to override amazon inline styles) or blue (links). I tried to be more forceful in the new versions so it colors it no matter if link or amazon thinks otherwise.

You can now choose the color by changing pureAmazonColor and resellerColor to any of the more than 16 million HEX colors or you may choose from the 140 predefined keyword colors. Note that you need to do that again with every update because updates overwrite your changes.

§
Postat în: 31-10-2022

With the version 1.6.1 : This is the link that I used for all regions -> https://www.amazon.fr/dp/B003LS1MM8 except India and Brazil

In fushia :
- amazon.com
- amazon.com.tr
- amazon.ca
- amazon.in
- amazon.sg


In green :
- amazon.co.uk
- amazon.co.jp
- amazon.com.be
- amazon.com.mx
- amazon.ae
- amazon.de
- amazon.es
- amazon.nl


I don't know what color it's because it almost looks like black, but BY ZOOMING ON THE PAGE YOU CAN SEE THAT IT'S GREEN :
- amazon.fr
Before with the version 1.3.1
https://up2sha.re/media/raw/HzLWQULUWrAESJVU1P.jpg?token=sajjs7x9qF0ym0Rzhuw2I3h7DEnaflmY
After -> It's less green than on the screenshot
https://up2sha.re/media/raw/0zQsaw.jpg?token=taP4Pz%2Bzslg%2F9qVP%2BdrjiWMbPtS3HzoE
- amazon.it
- amazon.se
- amazon.com.br -> https://www.amazon.com.br/dp/B077BY5PQL


Totally black :
- amazon.pl
https://up2sha.re/media/raw/iYFbDz.jpg?token=aRmQlzDtwqYER62ueiVYCe0EeNmIdCp4

You can now choose the color by changing pureAmazonColor and resellerColor to any of the more than 16 million HEX colors or you may choose from the 140 predefined keyword colors.
Note that you need to do that again with every update because updates overwrite your changes.

Thank you very much :-)

GraphenAutor
§
Postat în: 02-11-2022
  1. I changed the default green to a brighter limegreen.

  2. You can now store your own color value and it will not be deleted by updates. Just uncomment and edit the code accordingly. Example:

    //Set and save color preference:
    GM_setValue("pureAmazonColor", "DarkSlateBlue");
    GM_setValue("resellerColor", "#DC143C");
    

    In Tampermonkey you can view / delete / edit the stored data by clicking the "storage" tab when editing the script. I added the code for deletion just in case other addons like Greasemonkey don't offer the graphical possibility to delete values.

  3. Unfortunately I cannot reproduce the issues. In some countries that you mentioned, the product is not deliverable, so no seller info available. And in some countries it doesn't even exist (both the shampoo and the grater). I use https://greasyfork.org/scripts/38639-amazon-international-links to switch between most used locations.

Could you provide a single example of a bug (link + screenshot)? Maybe if I can investigate one single issue, the solution will also work for other regions.

§
Postat în: 03-11-2022

Hello,

I use also https://greasyfork.org/fr/scripts/38639-amazon-international-links
When I couldn't find the grater on Amazon.in for example, I would go to the homepage and click on any product in the hope that it would be sold and sent by Amazon.

I just tested your script on all regions and it works very well everywhere now :-)
Everything is displayed in fushia or green now according to the different regions.
The script is awesome and very useful now :-)

Thank you for the colors to modify in the script.

Thank you very much again for all : work, time and kindness ;-)

GraphenAutor
§
Postat în: 03-11-2022

Happy it works. Happy to learn. Happy to help. Thank you, too.

Postează un raspuns

Autentifică-te pentru a posta un răspuns.