Does a naive crawl of a couple endpoints, scrapes product URLs, and checks for the presence of a string.
- Open http://www.pilcrowcoffee.com in Chrome (or any web browser with a developer console)
- Open the developer console by pressing F12 (or Ctrl+Shift+I on Windows or Cmd+Shift+I on Mac)
- Click the console tab
- Paste the contents of validate.js into the console and press enter. (Note, you may need to first allow pasting by typing
allow pasting
into the console and pressing enter) - Review the output of the script to ensure that all found pages contain the shipping notice string