For support with specific websites
Moderator: trava90
Forum rules
Please
always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.
Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
- Clear any current output
- Navigate or refresh the page in question
- Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
-
Robin_WH
- Moonbather
- Posts: 51
- Joined: 2016-02-04, 01:19
Unread post
by Robin_WH » 2021-07-16, 10:57
The page does load nor work. I have tried clean profile in PM Portable, it does not help. I don't know where the problem is, but here is error console:
Code: Select all
Timestamp: 16.07.2021 12:55:24
Error: SyntaxError: invalid regexp group
Source File: https://static.mtgarena.pro/main.1df311a9e172ce091348.js
Line: 2, Column: 488390
Source Code:
nction c(e){const t=e.indexOf("?");if(-1===t)return;const n=/^https?:\/\/www.google-analytics.com\/(?<analyticsPath>.*)/
-
Moonchild
- Pale Moon guru
- Posts: 35650
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Unread post
by Moonchild » 2021-07-16, 11:07
search.php?keywords=invalid+regexp+group
Also, my buddy immediately indicates the problem:
regex1.png
Named capture groups. See issues 1282, 1285 and 1675. Bounty material if you want to help.
Of note is that making your website rendering at all being reliant on analytics code is, well, really dumb. Especially since many users will block GA.
You do not have the required permissions to view the files attached to this post.
"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
-
moonbat
- Knows the dark side
- Posts: 4983
- Joined: 2015-12-09, 15:45
Unread post
by moonbat » 2021-07-17, 04:23
Moonchild wrote: ↑2021-07-16, 11:07
Of note is that making your website rendering at all being reliant on analytics code is, well, really dumb
Lazy web devs, IMO. I glance at uBlock/eMatrix every time I go to a new site that I haven't been to before and it is amazing how many tons of 3rd party crap not always related to advertising/tracking one has to enable just for the damn page to render. I've had to whitelist jquery in eMatrix, for example.
-
Moonchild
- Pale Moon guru
- Posts: 35650
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Unread post
by Moonchild » 2021-07-17, 11:42
moonbat wrote: ↑2021-07-17, 04:23
tons of 3rd party crap not always related to advertising/tracking one has to enable [...] whitelist jquery in eMatrix, for example.
um... Why are you blocking jquery to begin with? Don't you know that jquery is a general-use abstraction library that a ton of websites use (and plenty of them keep the lib on third parties/CDNs/etc.)? Of course it won't render if the site is written in jquery and you block access to it. That's like denying programs access to generic runtime libraries.
"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
-
moonbat
- Knows the dark side
- Posts: 4983
- Joined: 2015-12-09, 15:45
Unread post
by moonbat » 2021-07-17, 14:36
Moonchild wrote: ↑2021-07-17, 11:42
um... Why are you blocking jquery to begin with?
eMatrix works as a whitelist where everything is blocked unless explicitly allowed, so I had to initially make an exception for jquery, which is a bad example in this case. Most of the time I see sites using all sorts of third party services to even provide regular images or scripts on their own page. Also, is there a reason for a big site to use a different domain name altogether for a CDN instead of a subdomain? Why fbcdn.net for Facebook and licdn.com for Linkedin instead of just cdn.facebook/linkedin?
-
Moonchild
- Pale Moon guru
- Posts: 35650
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Unread post
by Moonchild » 2021-07-17, 15:37
moonbat wrote: ↑2021-07-17, 14:36
is there a reason for a big site to use a different domain name altogether for a CDN instead of a subdomain?
Yes.
For one, it segregates DNS zones so third party providers can be given access to the zones to make changes if needed for their CDN implementation, without exposing the main domain zone configuration to them. Losing control of your main domain's DNS is potentially catastrophic.
"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