calmchess Posted October 29, 2012 Share Posted October 29, 2012 How do I hide the tags to my .js files within an html document I have seen a few sites around using Javascript but they seem to be hiding their links to .js files am I hallucinating or is this possible? Quote Link to comment Share on other sites More sharing options...
Jessica Posted October 29, 2012 Share Posted October 29, 2012 It's not possible. Quote Link to comment Share on other sites More sharing options...
JonnoTheDev Posted October 29, 2012 Share Posted October 29, 2012 They are probably just obfuscating it by using javascript to create a script element within the DOM. Something like this http://stackoverflow.com/questions/610995/jquery-cant-append-script-element To be honest I wouldn't even bother. Why try to hide your js includes. Just minify them. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.