Page: http://csgo.exchange/
I am trying to simulate a click on the "Item Float" option from the "Calculator" menu via jQuery but it's not loading the desired window.
My code:
var itemfloat = $('li').find('a[href$="#item/market"]');
itemfloat.click();
What's ridiculous is that itemfloat.remove(); works but not itemfloat.click();
IMPORTANT: The scripts runs as intended when pasted in the console but not when run as a content script in a Chrome Extension..