Adds send sample button after amazon links (FOR BOOKS)
!!!THIS SCRIPT REQUIRES MODIFICATION!!!
There are three variables that you must modify to allow the script to work.
var name = '';
var Name = '';
var device = '';
All of which can be attained from the normal request sample addressee that is shown on the confirmation page. It will look something like this https://www.amazon.com.au/gp/digital/name/clarification/sample-downloaded?ie=UTF8&action=BOOK0N7YY0&=ASIN&targetName=ABC123
we want the information from the areas i have marked with !!!:
https://www.amazon.com.au/gp/digital/!!!name!!!/clarification/sample-downloaded?ie=UTF8&action=&asin=BOOK0N7YY0&target!!!Name!!!=!!!device!!!
Finally you also have to localize for you particular amazon variation this will only work with amazon.com.au