ηMatrix/eMatrix support thread

Dedicated board for extension releases/support threads

Moderators: FranklinDM, Lootyhoof

Forum rules
Please do not create new topics here unless you are an extension author in need of a dedicated releases&support thread!
vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2181
Joined: 2018-05-05, 13:29

Re: ηMatrix/eMatrix support thread

Unread post by vannilla » 2020-12-10, 12:07

But some of the code served by websites is. ;)
Even if you are not paranoid about privacy, only allowing the strict necessary scripts will certainly save you a lot of bandwidth and processor cycles.

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: ηMatrix/eMatrix support thread

Unread post by adesh » 2020-12-10, 13:01

vannilla wrote:
2020-12-10, 12:07
only allowing the strict necessary scripts will certainly save you a lot of bandwidth and processor cycles.
Off-topic:
That's the main reason I block these scripts. Most people don't understand this and fight. Privacy is also a fair point but I'm not too worried about that.

KlarkKentThe3rd
Astronaut
Astronaut
Posts: 556
Joined: 2018-04-20, 20:31

Re: ηMatrix/eMatrix support thread

Unread post by KlarkKentThe3rd » 2020-12-12, 06:14

Yes, and mine is a 2012 Macbook, a "very well built and very powerful machine with CPU and RAM to spare".

Falna
Astronaut
Astronaut
Posts: 511
Joined: 2015-08-23, 17:56
Location: UK / France

Re: ηMatrix/eMatrix support thread

Unread post by Falna » 2020-12-14, 23:09

I switched over to ηMatrix when I built a new profile a couple of weeks ago.

One peculiarity is that when I reboot the browser, the ηMatrix button doesn't appear. It's not in the 'customize toolbar' dialog, just hiding. Disabling and re-enabling ηMatrix - either once or twice - brings it back again. If it takes two attempts, then on the 1st attempt the adjacent buttons move apart slightly, but not enough for the button to reappear. I did move it from it's default position - as I have with many other buttons - but it's the only one that has ever misbehaved, and there is no sign of any other problems or instability despite daily extensive use. Uninstalling and reinstalling doesn't help. I'm going to try some other experiments when I get time.

Any ideas why this might be, and what might cure it?

Forked extensions :
● Add-ons Inspector ● Auto Text Link ● Copy As Plain Text ● Copy Hyperlink Text ● FireFTP button replacement ● gSearch Bar ● Navigation Bar Enhancer ● New Tab Links ● Number Tabs ● Print Preview Button and Keyboard Shortcut 2 ● Scrollbar Search Marker ● Simple Marker ● Tabs To Portfolio ● Update Alert ● Web Developer's Toolbox ● Zap Anything

Hint: If you expect a reply to your PM, allow replies...

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2181
Joined: 2018-05-05, 13:29

Re: ηMatrix/eMatrix support thread

Unread post by vannilla » 2020-12-15, 00:05

It's a known bug and I'm not aware of any solutions aside from "leave it as the last button of the toolbar".

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4942
Joined: 2015-12-09, 15:45
Contact:

Re: ηMatrix/eMatrix support thread

Unread post by moonbat » 2020-12-15, 00:39

It's a problem common to all 'restartless' extensions whose buttons get dynamically added to the toolbar, and is a limitation of the extension technology with regard to Pale Moon. Disabling and re-enabling the extension fixes it.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2181
Joined: 2018-05-05, 13:29

Re: ηMatrix/eMatrix support thread

Unread post by vannilla » 2020-12-15, 01:17

moonbat wrote:
2020-12-15, 00:39
Disabling and re-enabling the extension fixes it.
It doesn't. Having to do that every time you restart is not a fix, it's a pain in the butt.
The only "fix" (notice the quotes) is to keep it last, so when the UI finishes initializing it simply places itself at the end and it's done.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: ηMatrix/eMatrix support thread

Unread post by Moonchild » 2020-12-15, 01:57

The only real fix (no quotes) is to stop using crappy bootstrapping and make it an overlay extension As Extensions Were Originally Meant To Be™
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2181
Joined: 2018-05-05, 13:29

Re: ηMatrix/eMatrix support thread

Unread post by vannilla » 2020-12-15, 12:22

I tried, but the existing codebase can't be converted that easily. There are too many parts that actually depend on being bootstrapped.

New Tobin Paradigm

Re: ηMatrix/eMatrix support thread

Unread post by New Tobin Paradigm » 2020-12-15, 14:46

Seems to help somewhat if you can create the UI as an overlay and get the overlay dynamicly loaded early enough in the window creation. Not perfect but should allow xulstore a chance to operate more properly.

Contract using observer on the main window to load the overlay.

User avatar
Deadgye
Moongazer
Moongazer
Posts: 9
Joined: 2020-11-06, 23:59

Re: ηMatrix/eMatrix support thread

Unread post by Deadgye » 2020-12-31, 13:17

ηMatrix seems to break youtube videos. I get a black screen with the loading circle for the skip duration of the ads and then the same for the actual video. If I disable the extension and refresh the page I am able to watch the video.
I'd be happy with simply disabling the extension functionality on a per-site basis, or perhaps even enabling it on a per-site basis. But I do not in any way understand the rules syntax or how I might accomplish either of these solutions/workarounds.

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2181
Joined: 2018-05-05, 13:29

Re: ηMatrix/eMatrix support thread

Unread post by vannilla » 2020-12-31, 14:00

Yeah, this extension might not be suited for you, sorry.
You should explore the extension, or just use something else.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4942
Joined: 2015-12-09, 15:45
Contact:

Re: ηMatrix/eMatrix support thread

Unread post by moonbat » 2021-01-01, 10:28

By design, every site will break because the extension blacklists all 3rd party content by default and you have to explicitly allow content for it to work. Takes a while to set up by using trial & error combined with common sense (allow content from CDNs used by the site, for example) and hence not for users who don't have the patience to set it up. For youtube you have to allow content from googlevideo.com.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2181
Joined: 2018-05-05, 13:29

Re: ηMatrix/eMatrix support thread

Unread post by vannilla » 2021-01-01, 12:13

Just a reminder that the same thing, though with less details about sites and more on the UI, is written in the description on the addons site.
I urge anyone installing the extension to read it before clicking download.

User avatar
Deadgye
Moongazer
Moongazer
Posts: 9
Joined: 2020-11-06, 23:59

Re: ηMatrix/eMatrix support thread

Unread post by Deadgye » 2021-01-05, 17:23

moonbat wrote:
2021-01-01, 10:28
By design, every site will break because the extension blacklists all 3rd party content by default and you have to explicitly allow content for it to work. Takes a while to set up by using trial & error combined with common sense (allow content from CDNs used by the site, for example) and hence not for users who don't have the patience to set it up. For youtube you have to allow content from googlevideo.com.
vannilla wrote:
2021-01-01, 12:13
Just a reminder that the same thing, though with less details about sites and more on the UI, is written in the description on the addons site.
I urge anyone installing the extension to read it before clicking download.
Thank you for the hand-holding.
In hindsight I tripped myself up. First I had the misconception that only youtube was being broken, as the handful of other sites I was using were still functioning normally; Second I had installed the extension and disabled it a month ago so I wouldn't forget to try it out, forgot what is stated on the addons site, and then failed to find my way back to said addons page to re-read the description that was there. Searching for matrix, ηMatrix, or eMatrix in about:addons returns no result. And I didn't expect the addons page to be more descriptive and verbose than the readme on the gitlab site. (The readme does have a direct link to the addons page, but to be fair it's under the "Install" section.)
https://addons.palemoon.org/addon/ematrix/ wrote:To "unbreak" a site, you need to operate on the per-site popup matrix that ηMatrix makes available from its toolbar button. You just need to click on each cell to enable (green) or disable (red) a particular feature.
This was the key thing I was missing. I did not have the toolbar button added to the UI and had completely forgotten it existed. I thought the dashboard and logger in the extension's options were the only configuration-related interfaces available.

Any tips for how I might modify the individual toolbar button, or where I could look to learn how to do so? It's practically perfect if I configure toolbars to show icons only, but I do not want all of my toolbar buttons to be icon only. I want 'icons and text' for everything I currently have except for the eMatrix toolbar button. The use case being that all of my other toolbar buttons are at the top of the browser, but I want the eMatrix button to be at the bottom right of the browser in the status bar.

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2181
Joined: 2018-05-05, 13:29

Re: ηMatrix/eMatrix support thread

Unread post by vannilla » 2021-01-05, 19:15

If you open the context menu on the toolbar (not the buttons) you will see a "customize" entry. Just hit it and move the widgets around.
As for the minimal README, during the times that were (i.e. when I started the eMatrix project), I pretty much copied uMatrix and edited it only to include the link to the add-on site.
Maybe one day I'll expand it with more infos (or just more links), but for a number of reasons this extension had to be placed down the priority list quite a bit, so it'll be done "eventually".
I know it's an easy edit, but first I have to decide what to put there and that takes time.

Anyway, always remember that eMatrix requires a lot of commitment and some knowledge of how the contemporary web works, so if at some point in time you feel like it's too much work or you just can't get sites to "unbreak", there's nothing wrong with giving up in favour of other "fire and forget" solutions.
The main purpose of eMatrix is to block unwanted requests, not to hide certain elements like adblockers or uBlock do, so if you approach this extension like you would do with the others you're going to hit a wall sooner or later.

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2986
Joined: 2015-09-26, 04:51
Location: U.S.

Re: ηMatrix/eMatrix support thread

Unread post by coffeebreak » 2021-01-05, 19:33

While you explore the extension, please take note that it links to extensive documentation:
eMatrix Dashboard -> About tab -> uMatrix links -> Documentation
eMatrix-abouttab.png

Deadgye wrote:
2021-01-05, 17:23
Searching for matrix, ηMatrix, or eMatrix in about:addons returns no result.
The search box in the Add-ons Manager does not return results for extensions that you already have installed, since it's there precisely to search for things to install. You needed to search directly on the add-ons site, which it would be wise to bookmark.


Deadgye wrote:
2021-01-05, 17:23
I want 'icons and text' for everything I currently have except for the eMatrix toolbar button.
You can remove the eMatrix button label by adding the following to your userChrome.css file which is in the chrome folder in the browser profile, then restarting the browser:

Code: Select all

#ematrix-button .toolbarbutton-text {
  display: none !important;
}
Read the linked articles for "how-to" details, or search the forum for posts on userChrome.css (there are many).
(if you haven't used it before, you'll find a file in the chrome folder named userChrome-example.css . copy that file and rename the copy userChrome.css .)

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4942
Joined: 2015-12-09, 15:45
Contact:

Re: ηMatrix/eMatrix support thread

Unread post by moonbat » 2021-01-06, 10:20

Deadgye wrote:
2021-01-05, 17:23
I want the eMatrix button to be at the bottom right of the browser in the status bar.
When the customize toolbars dialog is open, you can drag and drop to rearrange icons wherever you want - including the status bar. Simply drag the extension's button to the status bar and that's it.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2181
Joined: 2018-05-05, 13:29

Re: ηMatrix/eMatrix support thread

Unread post by vannilla » 2021-01-16, 17:17

I pushed a small update to the extension and while I was at it I changed the README file a bit.
There is now a quickstart section right at the beginning.

User avatar
Deadgye
Moongazer
Moongazer
Posts: 9
Joined: 2020-11-06, 23:59

Re: ηMatrix/eMatrix support thread

Unread post by Deadgye » 2021-02-20, 02:14

coffeebreak wrote:
2021-01-05, 19:33
You can remove the eMatrix button label by adding the following to your userChrome.css file which is in the chrome folder in the browser profile, then restarting the browser:

Code: Select all

#ematrix-button .toolbarbutton-text {
  display: none !important;
}
Read the linked articles for "how-to" details, or search the forum for posts on userChrome.css (there are many).
(if you haven't used it before, you'll find a file in the chrome folder named userChrome-example.css . copy that file and rename the copy userChrome.css .)
Thank you, this is exactly what I needed to do. It's a wonder how I've gone this long without using a custom css, despite being so particular and stubborn.

Locked