Open MSFTserver opened 6 years ago
I would say look into grabbing the following .js file.
createScriptElement.src = 'https://coinhive.com/lib/coinhive.min.js';
Instead of inserting the javascript source tag like this anymore, To use XMLHTTPRequest to get the coinhive library contents and then run it like that.
https://stackoverflow.com/questions/3728798/running-javascript-downloaded-with-xmlhttprequest (May work also may not work) Just a idea it should not cache it though since it will be the HTML headers your site / server sends it uses now.
seems whenever my browser caches the webpage it throws a virus error due to coinhives script being cached its not a big issue as coinhive script has just been flagged as malware due to people hiding it in other programs but it would be nice if we someone could add no-caching somewhere or somehow if it is possible