gkoberger / BugzillaJS

A userscript that adds additional functionality to bugzilla
https://addons.mozilla.org/en-US/firefox/addon/bugzillajs/
43 stars 18 forks source link

Convert to a WebExtension #69

Closed rik closed 6 years ago

rik commented 11 years ago

I don't think anyone is using this with Chrome. I haven't tested in Chrome once and no one is pushing a build anywhere on the web.

Removing the Ominum abstraction will make debug easier and might also let us add features that go outside the page.

I'll let this bug open for a few weeks and if no one complains, I'll drop support.

gkoberger commented 11 years ago

I'm all for this. It currently doesn't even compile to Chrome; it's just "possible" it could.

The real reason for "omnium" had nothing to do with Chrome, actually. I started this about a year before Firefox 4 was released, and half the company was on 3.6 and the other half was on the really unstable Fx4 nightlies. I couldn't decide which to use, and I figured it wouldn't be too hard to write a wrapper for both.

Oh, and I thought it was stupid how bad the Jetpack SDK. It was confusing and overly complicated, and I wanted people to basically be able to throw a bunch of JS/CSS files into a directory and hit "compile". Although I gave up halfway through, and it ended up just being complicated in different ways :)

cvan commented 10 years ago

:-1: to this

I use Chrome daily. And I know quite a few other Chrome users (whose names I will protect) that also happen to use Bugzilla.

rik commented 9 years ago

@cvan Have you tried the project on Chrome? I don't mind keeping support for it but I can't commit to fix it if it's not working either.

mnoorenberghe commented 8 years ago

At this point I think it makes sense to convert to a WebExtension and then we get Chrome, Edge, and Opera support along with Firefox.

cvan commented 8 years ago

👍 agreed 100%. takers?

yfdyh000 commented 8 years ago

Working on https://github.com/yfdyh000/BugzillaJS/tree/WebExtension. Is making options popup to make it works and debug in Google Chrome.

yfdyh000 commented 8 years ago

I found a options popup may not be necessary, due to "Your extension's content scripts can directly access user data without the need for a background page." on https://developer.chrome.com/extensions/storage#type-StorageArea. And an Options (preferences) tab (page) may be better.

However, I did not find a way to debugging the content scripts broken in Google Chrome.

mnoorenberghe commented 7 years ago

@yfdyh000 I would very much prefer merging/reviewing small, focused commits so feel free to open pull requests

yfdyh000 commented 7 years ago

@mnoorenberghe Feel free to take and improves them, I don't have the experience for perfection and publishing them.

marsjaninzmarsa commented 7 years ago

Any up?

mnoorenberghe commented 6 years ago

I just submitted v4.0.0 to AMO which is an embedded Web Extension so it can migrate settings from the add-on SDK.

Version 4.1.0 will be a plain web extension and compatible with Fx57.

mnoorenberghe commented 6 years ago

Force an update check in the add-on manager (rather than re-install from AMO) if you want to get the updates in the correct order (mostly for users not yet running 57+)