dotjs-addon icon indicating copy to clipboard operation
dotjs-addon copied to clipboard

Support for Firefox developer edition?

Open mspreij opened this issue 7 years ago • 6 comments

And for future versions of Firefox I suspect.. they changed the API for extensions. I would miss this extension so much! :-/

mspreij avatar Oct 04 '17 08:10 mspreij

This can't be the end. There has to be a way that allow us to load these files from disk.

eridal avatar Oct 04 '17 17:10 eridal

I like this addon and try to make its works. Now dirty hack applied here https://github.com/sasha-ch/dotjs2-addon and works somehow on FF 58 Win7.

Other idea is to put our .js inside addon folder, use "web_accessible_resources": ["js/*.js"] in manifest.json and resign-reinstall addon after each permanent .js modification. Temporary modifications may be maked/tested via about:debugging

Other idea is to set up local web server and refer to files like http://127.1/my.dear.site.com.js in addon code.

@rlr , @eridal and others - what do you think about it all?

sasha-x avatar Mar 04 '18 15:03 sasha-x

This looks promising!

I'm still waiting on full support to upgrade (plus tab-groups) but I'll give a try using a separate firefox installation.

Have you tried the addon folder approach? we could create a link from there into ~/.js --if your OS support such links

eridal avatar Mar 09 '18 00:03 eridal

Have you tried the addon folder approach? we could create a link from there into ~/.js

@eridal, I'm not sure what do you mean.

I'm windows user now but I am ok with linux and my code will be tested with *nix soon.

I'm sorry for my English sometimes.

sasha-x avatar Mar 11 '18 14:03 sasha-x

New version of https://github.com/sasha-ch/dotjs2-addon drafted. Require local web server. Linux.

Feedback are welcome.

sasha-x avatar May 07 '18 17:05 sasha-x

Has anyone thought about using native messaging? The setup is brittle and a bit more annoying than with a web server, but more pleasant to use afterwards and it seems to be how it's supposed to be done with WebExtensions. I had some success in using it to access local resources from Chromium with tiny Perl scripts, and it seems to work mostly the same in Firefox (except different location of manifests; and that you can't load unsigned addon other than temporarily to be wiped on next restart so I didn't have much use of it here).

mwgamera avatar May 07 '18 23:05 mwgamera