You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(continuing from your comment here: uzairfarooq/arrive#32 (comment))
Firstly, thank you for your work rewriting arrive and making it work in iframes!
I'd like to use monitoring in a userscript (with Tampermonkey/Violentmonkey)
I know that .mjs is an extension for EcmaScript modules, so // @require https://github.com/kylekyle/monitoring/raw/master/dist/monitoring-latest.min.mjs
doesn't work.
I already tried browserify + esmify browserify index.js -p esmify > bundle.js inside the src folder
and I got this file bundle.js
but it still doesn't work if I manually add it in the Editor|Externals of my userscript.
Could you please help in making a standalone .js version (like in arrive.js) ?
The text was updated successfully, but these errors were encountered:
It would be nice to use monitoring in places that don't support modules, like tampermonkey. I think the simplest solution would to have two rollup output targets, a module and a standalone. I'll have a look.
(continuing from your comment here: uzairfarooq/arrive#32 (comment))
Firstly, thank you for your work rewriting arrive and making it work in iframes!
I'd like to use monitoring in a userscript (with Tampermonkey/Violentmonkey)
I know that
.mjs
is an extension for EcmaScript modules, so// @require https://github.com/kylekyle/monitoring/raw/master/dist/monitoring-latest.min.mjs
doesn't work.
I already tried browserify + esmify
browserify index.js -p esmify > bundle.js
inside thesrc
folderand I got this file bundle.js
but it still doesn't work if I manually add it in the Editor|Externals of my userscript.
Could you please help in making a standalone .js version (like in arrive.js) ?
The text was updated successfully, but these errors were encountered: