That seemed too easy and apparently was, Chrome is throwing an error when trying to load it:
Refused to execute script from 'http://confluence/download/attachments/4426187/HotFixCreation.js' because its MIME type ('application/x-upload-data') is not executable, and strict MIME type checking is enabled.
Any ideas how I can use my .js attachments?
$.getScript is to include the file content in the body of the page. It's to work around the cache... it solve the shituation, but it's not a best practice.
To change the content type of an attachment, please visit the view page attachment (viewpageattachments.action) and click in Properties of the js file.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs