hello member I created a Add-ons for my website modzbig in which a simple iframe open in which site homepage open but I need to know should I inculde JS code and popup.js file separately or should I include the code inside .html file???
Hey @lathon_phililip! Welcome to the Mozilla Discourse server
Have you already created a working extension or are you trying to create one? If what you’ve made already works like you want it to, you’re not required to split the JavaScript out from the HTML page. Splitting HTML and JS into separate files is generally considered good practice, but it’s not required.
I already created it and tested it with the browser, but I heard that Mozila does not need JS code as in separate file.
Can I share JS Code of my Mozilla Add-ons for my Website modzbig…???
I’m not sure why you’d want to but, yes, you can post your source code (or a link to it) here.