When browsing the mobile version of Amazon, the script doesn't work as the tag of the ASIN element has a different name.
Instead of (line 22)
var element = $(':input[name="ASIN"]');
it should be
var element = $(':input[name="a"]');
Ideally, the script should detect if we are on the fix or mobile version, and adjust itself accordingly...
Fix for mobile version of Amazon website
When browsing the mobile version of Amazon, the script doesn't work as the tag of the ASIN element has a different name. Instead of (line 22)
var element = $(':input[name="ASIN"]');
it should bevar element = $(':input[name="a"]');
Ideally, the script should detect if we are on the fix or mobile version, and adjust itself accordingly...