Page 1 of 3

WebExtensions after FF 56

PostPosted: Sat May 20, 2017 5:48 am
by octopod
Will CB be converting to WebExtensions after FF 56?

Re: WebExtensions after FF 56

PostPosted: Sat May 20, 2017 10:28 am
by srazzano
Nope

Re: WebExtensions after FF 56

PostPosted: Sat May 20, 2017 6:01 pm
by mcee
But we could make webextension buttons that do some of the things that some CB buttons do. And we can use some code from some web extensions to make CB buttons. WEBEXTENSIONS ARE MORE LIMITED. But they're also lighter and easier to learn to make than XUL extensions, and not much harder than making your own CB button. I haven't yet tried making any of the CB buttons I use into web extensions because I plan on stopping with Fx52 so there is no need right now. If Pale Moon gets a WebExt API, or if I end up using their newer Fx-clone that is in the planning stage or some other fork that retains XUL (Waterfox-Classic?) along with WebExt, then I would be more inclined to give it a try. Otter is also a possibility for supporting that type extension, especially since they aim to emulate old Opera which had its own support for making buttons. Anyway, I see potential for code sharing if there are people willing to try.

Re: WebExtensions after FF 56

PostPosted: Sun May 21, 2017 10:52 am
by morat
@octopod

Is the Custom Buttons extension even going to be possible with WebExtensions?

You could create a toolbar button that opens a popup with buttons to do stuff to webpages. A toolbar button only allows a left click, no middle or right click, no alt ctrl shift modifiers. A button in a popup can use all 3 mouse buttons with all modifiers.

You can't create a special custombutton:// url for installing custom buttons.

You can use the native messaging api with a python script to do stuff with the file system, like open a text file in notepad. You can also create a macro, like open the find bar and paste text.

You don't have access to the browser guts to do stuff with the UI.

JavaScript APIs for Google Chrome
http://developer.chrome.com/extensions/api_index

Native Messaging for Google Chrome
http://developer.chrome.com/extensions/nativeMessaging

@all

Are you going to change your browser after the release of Firefox 57? If so, what browser?

I'm already using Chrome as my primary browser. I may try Vivaldi soon.

Similar thread:

http://forums.mozillazine.org/viewtopic ... &t=3029880

@makondo

I read the Opera browser was sold to the Chinese.

http://www.engadget.com/2016/07/18/oper ... 0-million/

Are you still changing your browser to Opera after the release of Firefox 57?

Re: WebExtensions after FF 56

PostPosted: Sun May 21, 2017 2:38 pm
by trapper john
Many of us will continue to use an older Firefox even after security updates stop, as with 52esr. It's a risk but that will be taken. If anything what will curtail their use will be when websites start breaking, that will happen eventually. IE6 and Firefox 3.6 are practically unusable for that reason. Other choices like Pale Moon are still out there depending on what direction they take.

Re: WebExtensions after FF 56

PostPosted: Sun May 21, 2017 3:56 pm
by makondo
morat,
i use Waterfox for now, see what srazzano linked me to here.
If/when this will fail, i'll try PM again, hopefully they'll continue development (i was never a fan, as you know, didn't and don't believe in the team but it looks like they might be willing to continue, we'll see).
When all this fails, i'll use the Edge and write memoirs 'Those were days ...'

I have Vivaldi and use it from time to time. It's all right, but it is not Fx with TMP, Stylish and CB! Not yet, anyway. A good alternative to those who hate MS (and Goo) though. I don't, i never understood why people hate Bill Gates/MS more than they hate the owner of the local gas station that rips them off with every drop of gas.
Anyway, as i understand, srazzano is converting exts. to work with PM as a backup, maybe he'll share his thoughts.

PS.BTW, i haven't seen Opera for a few years now, even forgot it exist!

Re: WebExtensions after FF 56

PostPosted: Sun May 21, 2017 5:57 pm
by morat
Here is my browser action popup. I got a number of my custom buttons working in Chrome.

Browser Action Popup for Chrome
http://jsfiddle.net/6q0egfu2/

It should be easy to port my Chrome extension to Firefox 57+ or Vivaldi since they are going to use Chrome-like extensions. Although, Firefox 57 WebExtensions will likely have compatibility problems.

@makondo

I won't use browsers like Pale Moon.

Hacker News user wrote:If someone ever cared enough to target Pale Moon users they would have an absolute field day with all the known Firefox vulnerabilities they could use.

Hacker News
http://news.ycombinator.com/item?id=13393332

P.S.

There are only 220 results for WebExtensions on AMO.

Search Results for "WebExtension"
http://addons.mozilla.org/firefox/searc ... bExtension

Re: WebExtensions after FF 56

PostPosted: Tue May 23, 2017 5:56 am
by octopod
morat wrote:@octopod

Is the Custom Buttons extension even going to be possible with WebExtensions?
You could create a toolbar button that opens a popup with buttons to do stuff to webpages. A toolbar button only allows a left click, no middle or right click, no alt ctrl shift modifiers. A button in a popup can use all 3 mouse buttons with all modifiers.
You can't create a special custombutton:// url for installing custom buttons.
You can use the native messaging api with a python script to do stuff with the file system, like open a text file in notepad. You can also create a macro, like open the find bar and paste text.
You don't have access to the browser guts to do stuff with the UI.
JavaScript APIs for Google Chrome
http://developer.chrome.com/extensions/api_index
Native Messaging for Google Chrome
http://developer.chrome.com/extensions/nativeMessaging
@all

Are you going to change your browser after the release of Firefox 57? If so, what browser?
I'm already using Chrome as my primary browser. I may try Vivaldi soon.

Similar thread:
http://forums.mozillazine.org/viewtopic ... &t=3029880
@makondo

I read the Opera browser was sold to the Chinese.
http://www.engadget.com/2016/07/18/oper ... 0-million/
Are you still changing your browser to Opera after the release of Firefox 57?



I can't make anything myself, don't know how to code. Temporarily I've moved to FF 52 ESR, which will use XUL for one more year. For myself, any iteration of FF will be preferable to Chrome, Edge or Opera.

Someone at Mozillazine found about 2200 extensions on AMO compatible with v. 57. There will be more.

In preparation for leaving CB behind, I've turned all my buttons into bookmarks in one folder at the top of the Bookmark Sidebar.

Re: WebExtensions after FF 56

PostPosted: Tue May 23, 2017 10:41 pm
by mcee
Webextensions won't be the answer for many of the CB buttons, like the ones that change preferences (Mozilla is deliberately not allowing pref changes). And I know I have some buttons with more code than I'd want to put in a bookmarklet; don't know which ones might work as bookmarklets.. I'm going to try to avoid using Firefox or a fork without XUL for as long as I can.

Would it be worthwhile to start listing buttons we want to see an alternative for? In other words, is anybody likely to help or are we on our own? I think I can do some but I haven't yet evaluated which ones

Re: WebExtensions after FF 56

PostPosted: Tue May 23, 2017 11:19 pm
by srazzano
Pale Moon (in process of re-launching under different name/logo) will continue it's browser with xul support and they have their own add-ons site. If your buttons doesn't work in Pale Moon, I am sure someone here will modify it for you. Also, Waterfox browser owner, Alex, is planning to keep xul functionality, if he can get the funding/support to do so after Firefox goes webext. Can only wait and see.