MozillaZine


uBlock Origin legacy

User Help for Mozilla Thunderbird
Anonymosity
 
Posts: 8652
Joined: May 7th, 2007, 12:07 pm

Post Posted November 14th, 2020, 11:07 am

Is there any way to get uBlock Origin legacy version to work with Thunderbird v.60? Tbird complains that it is corrupted when I try to install it. I tweaked install.rdf first to bump up the max version for Tbird.

tanstaafl
Moderator

User avatar
 
Posts: 47397
Joined: July 30th, 2003, 5:06 pm

Post Posted November 14th, 2020, 11:55 am

Try setting extensions.strictCompatibility false using the config editor. If that doesn't help see https://github.com/gorhill/uBlock/issues/2932 for a potential workaround:

"I could install 1.13.8 successfully, direct link: https://addons.mozilla.org/android/down ... +sm+tb.xpi

Just remember to turn off auto-update for uBO in its add-on preferences. Using 1.13.8 is just fine, it's not so far behind compared to current 1.14.0. Maybe eventually Thunderbird will be webext-compatible."

Also see https://www.reddit.com/r/uBlockOrigin/c ... underbird/

https://github.com/gorhill/uBlock/releases has a version that requires Thunderbird version 65 or later.

morat
 
Posts: 4261
Joined: February 3rd, 2009, 6:29 pm

Post Posted November 14th, 2020, 12:41 pm


Anonymosity
 
Posts: 8652
Joined: May 7th, 2007, 12:07 pm

Post Posted November 14th, 2020, 12:49 pm

Some of those links go to "Not Found". The older version suggested (1.30.6) does not work because there is no toolbar button. Why does Tbird complain that the legacy version is corrupted?

tanstaafl
Moderator

User avatar
 
Posts: 47397
Joined: July 30th, 2003, 5:06 pm

Post Posted November 14th, 2020, 1:08 pm

The error message that it appears to be corrupt usually means its just not a valid add-on for that configuration.

I don't know why they removed the older versions of the add-on that also supported thunderbird and seamonkey from https://addons.mozilla.org/en-US/androi ... /versions/ and https://addons.mozilla.org/en-US/firefo ... /versions/

https://github.com/gorhill/uBlock/issues/3698

Anonymosity
 
Posts: 8652
Joined: May 7th, 2007, 12:07 pm

Post Posted November 16th, 2020, 3:54 pm

So does that mean that there is no way to patch the legacy version of uBlock Origin so that Tbird will not complain that it is corrupted? (Incidentally, corrupted and incompatible are quite different.)

tanstaafl
Moderator

User avatar
 
Posts: 47397
Joined: July 30th, 2003, 5:06 pm

Post Posted November 16th, 2020, 4:28 pm

Don't get hung up on the wording. Its not unusual for a poor choice of error message to be used.

I suspect you can't workaround the problem just by patching it because not enough WebExtension support was implemented yet. See https://groups.google.com/g/tb-planning/c/qHn5E8Lwobk (note the tanstaafl in that thread is not me)

Anonymosity
 
Posts: 8652
Joined: May 7th, 2007, 12:07 pm

Post Posted November 17th, 2020, 2:42 pm

If Thunderbird (or any gecko application) deems the extension to be incompatible, it is reading the range of versions from min to max in install.rdf. If the target's version is not within that range, it is considered to be incompatible. I have a habit of modifying the range to make sure that the target's version is within that range. I think "corrupted" must be something else, but what?
Why does chrome.manifest not list all the main directories within the .xpi file? The only one it lists is locale.

tanstaafl
Moderator

User avatar
 
Posts: 47397
Joined: July 30th, 2003, 5:06 pm

Post Posted November 17th, 2020, 3:59 pm

Editing the manifest file was a useful workaround in many cases for legacy add-ons until version 60. The problem appears to be the partial integration of the WebExtensions API in version 60. If you go back to version 52 you can use the legacy version. If you go forward to version 65 or later you can use a WebExtension version.

https://developer.mozilla.org/en-US/doc ... l_manifest

viewtopic.php?f=39&t=3041270

Anonymosity
 
Posts: 8652
Joined: May 7th, 2007, 12:07 pm

Post Posted November 17th, 2020, 4:04 pm

I thought that Gmail would work only with version 60 and later? 60 was the last xul version, right? I wanted still to have themes.

tanstaafl
Moderator

User avatar
 
Posts: 47397
Joined: July 30th, 2003, 5:06 pm

Post Posted November 17th, 2020, 7:44 pm

No. Gmail didn't stop working. I'm currently using 60.9.1, 68.12.1 and 78.4.3 with Gmail.

You might be thinking of when did Oauth2 support for Gmail POP account get restored. https://bugzilla.mozilla.org/show_bug.cgi?id=1174505 talks about them removing Oauth2 support for Gmail POP in version 42. OAuth2 support for Yahoo and AOL IMAP accounts was added in version 60. I believe Oauth2 support for POP in general was added in 68.5

https://www.thunderbird.net/en-US/thund ... easenotes/
https://www.ghacks.net/2020/02/12/thund ... y-updates/

---------------------------------

Version 60 wasn't the last XUL/XPCOM version. There was still a little support for it in version 68 if an add-on author made some workarounds. The problem is that most add-ons were not updated. Support for legacy add-ons is totally gone in 78 (regardless of what tricks/changes an add-on author makes).

---------------------------------

If by themes you mean complete themes version 60 is the latest that supports that. The situation got bad before that though.

There are a couple of complete themes that are implemented as extensions, rather than themes, to get around the lack of support for complete themes. See https://addons.thunderbird.net/it/thund ... ll-dark-2/ and https://addons.thunderbird.net/it/thund ... for-tb-68/ .

https://addons.thunderbird.net/en-us/th ... ns/?src=ss and https://addons.thunderbird.net/en-us/th ... ns/?src=ss lets you add some icons and buttons from the phoenity theme with version 78.

https://github.com/Aris-t2/CustomCSSforTb makes it easier to use CSS in version 68 and later.

Anonymosity
 
Posts: 8652
Joined: May 7th, 2007, 12:07 pm

Post Posted November 18th, 2020, 12:08 pm

I meant that if I go back to v.52, will Gmail work? I use IMAP, not POP3 with Gmail.

I saw in SeaMonkey's profile a directory that seems to contain uBlock Origin's settings that I changed. Would adding that to Thunderbird's profile make uBlock Origin use those settings despite the lack of any interface in the only version of uBlock.Origin that would install?

tanstaafl
Moderator

User avatar
 
Posts: 47397
Joined: July 30th, 2003, 5:06 pm

Post Posted November 18th, 2020, 3:56 pm

Why do you keep worrying about Gmail IMAP accounts? I forget when support was added but its been available since at least version 3.0.

I don't know if copying the SeaMonkey directory with ublock origin settings would work. If you want to do that I suggest you install the add-on in Thunderbird first, see what directory it uses to store the settings and then copy the contents of the other directory over it.

Anonymosity
 
Posts: 8652
Joined: May 7th, 2007, 12:07 pm

Post Posted November 19th, 2020, 1:59 pm

But the directory with the file for uBlock Origin settings must be for the settings that got changed, and I had no way to change any settings with Tbird and the web extension of uBlock Origin (since that was the only one that would install). The interface Tbird shows is a blank page. At least, the extra item in the profile has caused no harm.

Anonymosity
 
Posts: 8652
Joined: May 7th, 2007, 12:07 pm

Post Posted November 19th, 2020, 3:29 pm

I just tested Tbird 52.9.1, and I cannot use it with Gmail because it will not be accepted by Google to finalize the setup to get a password saved. Version 52 uses key3.db for decrypting the login file and SeaMonkey and version 60 both use key4.db. That meant that I could use SeaMonkey's login file in Tbird 60. I did install uBlock Origin legacy into V.52 and imported SeaMonkey's backup settings into it. I saved out the settings from that profile, restored Tbird 60's profile and put the new settings into it.

Return to Thunderbird Support


Who is online

Users browsing this forum: No registered users and 1 guest