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
- install requestly extension http://www.requestly.in
- download js file on local machine
- use requestly library service host file (http://www.requestly.in/library)
- modify content on library service
- open http://www.requestly.in/rules
- create replace rule redirect original javascript url changed file url (url obtained library service)
Comments
Post a Comment