Remove inline JS from HTML
Posted: Sat Jan 02, 2016 2:22 pm
Chrome doesn't like inline JS when you're creating content pages in extensions, would it be possible to have the following two lines put into external JS files instead of being inline?
I have done this manually and then just pointed the script tags in the HTML to the JS files and it all seems to work OK but it would be nicer if I didn't have to do any tweaking.
Code: Select all
var spider = {}; spider.nbModules = 0; spider.nbLoadedModules = 0;
//
var dojoConfig = { locale: 'en', async: 1 };