Learn how to make the most out of the Dropbox Community here 💙!

Forum Discussion

KlausB's avatar
KlausB
Helpful | Level 7
6 years ago
Solved

Cannot load javascript from Dropbox - Incorrect Mime Type?

I am trying to load javascript code from Dropbox for use in personal bookmarklets. For instance,    (function(){ const url = 'https://www.dropbox.com/s/5cbb5dki3rnpdei/DebugSimple.js?raw=1'; ...
  • Greg-DB's avatar
    6 years ago

    Based on the error message you shared, you're not getting exactly the same issue as the thread you linked to. It looks like you can still make this work using the modification mentioned there though, i.e., by changing your link to use 'dl.dropboxusercontent.com' initially, like this:

    https://dl.dropboxusercontent.com/s/5cbb5dki3rnpdei/DebugSimple.js

    Note that this isn't officially supported though, and is subject to change.