that is so hard to explain ....
i have that url of a js code lets call it Adcode : example.com/adcode.js
i have a js file i already injected in the main HTML page with
<script src="/a.js"></script>
i want to inject the Adcode in a.js file ..
so what to put in "a.js" , i tried :
var script document.createElement('script'); script.src = 'example.com/adcode.js'; document.body.appendChild(script)
but it didn't work ( no ad's appeared )
sorry, English is not my native language ..
notice : example.com/adcode.js is changed every time we refresh the page so i can't just copy it ...