SVG+XML images with data URIs that render only in Chrome/ium Topic is solved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4981
Joined: 2015-12-09, 15:45
Contact:

SVG+XML images with data URIs that render only in Chrome/ium

Unread post by moonbat » 2019-11-11, 03:36

This page doesn't display images even in safe mode, nor does it work in Firefox. To no surprise, only Chromium displays it. 'Living standard' strikes again?

Images in question have URLs like this -

Code: Select all

data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201000%20600'%3E%3C/svg%3E
The link above only shows an XML namespace for SVG. What sorcery is this? :wtf:
If it's a data URI then where's the image data getting loaded from?
"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

Sessh
Fanatic
Fanatic
Posts: 140
Joined: 2018-01-11, 18:43

Re: SVG+XML images with data URIs that render only in Chrome/ium

Unread post by Sessh » 2019-11-11, 04:02

Mine looks like this:
blah.jpg
Seems all the pics are there for me on the whole page. The one blank space was a YT vid which I made appear by allowing in nMatrix.

van p
Astronaut
Astronaut
Posts: 595
Joined: 2015-11-19, 07:15
Location: Cincinnati, OH, U.S.A.

Re: SVG+XML images with data URIs that render only in Chrome/ium

Unread post by van p » 2019-11-11, 04:58

I'm not a programmer and have no idea what you're talking about. All I know is everything on the site seems to be working as it should. Maybe my system's hosed up (or down).
Windows 10 Pro x64 v22H2 8GB i5-4570|Pale Moon v33.0.2 x64

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

Re: SVG+XML images with data URIs that render only in Chrome/ium

Unread post by moonbat » 2019-11-11, 05:07

Unblocking cookies for the site fixed 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

Sessh
Fanatic
Fanatic
Posts: 140
Joined: 2018-01-11, 18:43

Re: SVG+XML images with data URIs that render only in Chrome/ium

Unread post by Sessh » 2019-11-11, 05:20

Interesting. I have cookies blocked for the site without ill effect. I don't use the cookie blocking utilities you do, though. Only nMatrix.
blah.jpg

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

Re: SVG+XML images with data URIs that render only in Chrome/ium

Unread post by Moonchild » 2019-11-11, 08:00

The SVG is a placeholder image frame (defining a viewport) for lazy-loaded jpgs that are slid in with js after the document is loaded... because, ... Wordpress, I guess.
"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

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

Re: SVG+XML images with data URIs that render only in Chrome/ium

Unread post by coffeebreak » 2019-11-11, 09:59

Sessh wrote:
2019-11-11, 05:20
Interesting. I have cookies blocked for the site without ill effect.
Off-topic:
Just because cookies are blocked in nMatrix doesn't mean they are blocked in the browser.

nMatrix doesn't block a site from sending you cookies; that's controlled by your browser settings (with or without the aid of a cookie management extension, which nMatrix isn't). The effect of blocking cookies in nMatrix is to prevent them from being sent back. (see wiki)

Sessh
Fanatic
Fanatic
Posts: 140
Joined: 2018-01-11, 18:43

Re: SVG+XML images with data URIs that render only in Chrome/ium

Unread post by Sessh » 2019-11-11, 16:08

coffeebreak wrote:
2019-11-11, 09:59
Off-topic:
nMatrix doesn't block a site from sending you cookies; that's controlled by your browser settings (with or without the aid of a cookie management extension, which nMatrix isn't). The effect of blocking cookies in nMatrix is to prevent them from being sent back. (see wiki)
Off-topic:
Thanks for the information! I've always had it set to delete blocked cookies automatically. I see that the contents of that wiki are behind the ? button next to the setting in the dashboard, but had been using the old uMatrix that was compatible with PM until recently and that description wasn't there AFAIR. I'm still satisfied with how that works. Thanks again!

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

Re: SVG+XML images with data URIs that render only in Chrome/ium

Unread post by coffeebreak » 2019-11-11, 17:53

Off-topic:
Sessh wrote:
2019-11-11, 16:08
I see that the contents of that wiki are behind the ? button next to the setting in the dashboard, but had been using the old uMatrix that was compatible with PM until recently and that description wasn't there AFAIR.
Off-topic:
The information is there, in the same place, in PM-compatible versions of uMatrix, though it might not have registered when you first read it. :)

Sessh
Fanatic
Fanatic
Posts: 140
Joined: 2018-01-11, 18:43

Re: SVG+XML images with data URIs that render only in Chrome/ium

Unread post by Sessh » 2019-11-11, 19:14

coffeebreak wrote:
2019-11-11, 17:53
[/offtopic]
Off-topic:
The information is there, in the same place, in PM-compatible versions of uMatrix, though it might not have registered when you first read it. :)
Off-topic:
Apparently, it didn't. Thanks again for the clarification. :)

Goodydino
Keeps coming back
Keeps coming back
Posts: 827
Joined: 2017-10-10, 21:20

Re: SVG+XML images with data URIs that render only in Chrome/ium

Unread post by Goodydino » 2019-11-11, 20:36

The scrollbar on that page is weird as well. It has its own appearance, and appears only when the cursor is moved to that side of the page.

Locked