javascript - Change a setting on CDN-hosted JS file without touching file -


i'm using jump-forward plugin mediaelements.js hosted on cloudflare.

i'm not familiar js i'm wondering if it's possible change js file without having download file , host locally?

for example: broswer loads 'https://cdnjs.cloudflare.com/ajax/libs/mediaelement-plugins/2.1.0/jump-forward/jump-forward.min.js' either run script make change on 1 line:

object.assign(mejs.mepdefaults, { /** * @type {number} */ jumpforwardinterval: 30, /** * @type {?string} */ jumpforwardtext: null }); 

i don't know if possible. i'm looking make change remotely-hosted js that's up-to-date instead of downloading js, make change, , host myself.

you can try requestly extension.

it provides file hosting service can use host local files. need

replace rule documentation


Comments