Rendering

Board for discussions around the Basilisk web browser.

Moderator: Basilisk-Dev

User avatar
Jasantes
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2024-02-07, 02:11

Rendering

Unread post by Jasantes » 2024-10-16, 15:49

This is an interesting page, but it breaks in Basilisk/Pale Moon: https://privacytests.org
Is there any solution?
Attachments
Capture-2.jpg

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

Re: Rendering

Unread post by vannilla » 2024-10-16, 16:04

Woah, is this site poorly written!
It breaks because the text is actually the alt-text of an img element without a source (the src attribute) and what's more each image is declared as display: inline-block , which breaks the alignment. It seems the actual image, whatever it is supposed to be, was meant to be given through CSS using content: url(...), but it doesn't work because the data: URI is broken.
You should get in touch with the people running this site and ask them to place the encoded SVG inside the src attribute, since they are already able to tell which cell gets which image as they provide the good and na classes.

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

Re: Rendering

Unread post by Moonchild » 2024-10-16, 16:07

Maybe also ask them to add Pale Moon to the lineup while they're at it ;)
{{This headspace for lease}}
"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: 2310
Joined: 2018-05-05, 13:29

Re: Rendering

Unread post by vannilla » 2024-10-16, 18:31

Moonchild wrote:
2024-10-16, 16:07
Maybe also ask them to add Pale Moon to the lineup while they're at it ;)
The project seems to use "headless mode" to run their tests, so they'll most definitely refuse because Pale Moon doesn't have it.

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

Re: Rendering

Unread post by Moonchild » 2024-10-16, 19:20

Oh yes because doing actual work is so ridiculous.
{{This headspace for lease}}
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Jasantes
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2024-02-07, 02:11

Re: Rendering

Unread post by Jasantes » 2024-10-16, 22:34

Moonchild wrote:
2024-10-16, 16:07
Maybe also ask them to add Pale Moon to the lineup while they're at it ;)
I already asked him.

User avatar
adoxa
Lunatic
Lunatic
Posts: 311
Joined: 2019-03-16, 13:26
Location: Qld, Aus.
Contact:

Re: Rendering

Unread post by adoxa » 2024-10-17, 06:54

Here's a Modify HTTP Response filter to replace the alt text with characters.

Code: Select all

[["privacytests.org",["/",["/alt=\"Passed\"/g","alt=\"✔\"","/alt=\"Failed\"/g","alt=\"❌\"","/alt=\"Unsupported\"/g","alt=\"-\""]]]]

User avatar
Jasantes
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2024-02-07, 02:11

Re: Rendering

Unread post by Jasantes » 2024-10-20, 21:31

Perfect... you are a genious!!! :thumbup: :clap:
Attachments
Capture.jpg

User avatar
noellarkin
Fanatic
Fanatic
Posts: 118
Joined: 2021-07-27, 04:20

Re: Rendering

Unread post by noellarkin » 2024-11-25, 17:43

@adoxa your HTTP replacements deserve to have their own repository, thanks a ton!

Post Reply