I was trying to load Addthis JavaScript on click of an html element. This is just my test page. After loading the script, it adds entries to browser history. it happens only in Firefox. Here is the test code
<div class="addthis_toolbox addthis_default_style">
<a class="addthis_button_tweet"></a><a class="addthis_button_pinterest_pinit"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<div style="margin:20px;">
<input id="Button1" type="button" value="Test" onclick="Test();" />
</div>
<script type="text/javascript">
function Test() {
var script = 'http://s7.addthis.com/js/300/addthis_widget.js#pubid=xa-5187e240231ec1b0#domready=1';
$.getScript(script);
}
</script>
Is it possible to avoid adding entries to browser history?