In a testing environment, my addon works (using atlas-run on localhost). In a vm file I have my function and then I call it with:
window.onload = function() {
changeCSS();
};
But after I package it and upload it to my production server of the software, it stops working. I ran the function with js while inspecting the page, so i know the function is there and works. So it seems that windows.onload isn't working.
Am I missing something?