I find that on pageload addthis_widget.js makes a call to http://api-public.addthis.com/url/shares.json and sets the callback function-name as an abbreviated version of the URL the user is currently on.
If the website your widget is installed on supports case-insensitive URLs, addthis_widget.js asks for the correct callback, but shares.json doesn't necessarily attempt to call the correct function if the page has been loaded once before using different casing.
Steps to reproduce
1. Install the widget on a website, as per the instructions on your front page
2. Visit a page on that website (http://www.example.com/MyGreatPage)
3. Note that everything seems to work fine
- addthis_widget.js requests the following:
- The request loads up and calls the following function:
4. Now type the same address into your browser in lowercase (http://www.example.com/mygreatpage)
- _ate.cbs.sc_httpwwwexamplecomMyGreatPage0 is not a function
6. Take a look at the request:
- Pay particular attention to the requested callback:
7. Take a look at the callback that is returned from shares.json:
8. Compare side-by-side:
Received : _ate.cbs.sc_httpwwwexamplecomMyGreatPage0
This question is closed to new answers.