discourse.gnome.org

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:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
ibinshoid
New to the forum
New to the forum
Posts: 1
Joined: 2025-01-19, 10:54

discourse.gnome.org

Unread post by ibinshoid » 2025-01-19, 11:09

On discourse.gnome.org only the list of topics is displayed and a warning that my browser is unsupported.

JS-console :

Code: Select all

uncaught exception: Unsupported browser detected  
(unbekannt)
	<anonym> https://discourse.gnome.org/assets/start-discourse-9f921142b762fb91207051d0a28e571b9455bab74e7d0e03726024c286cff8d5.js:3:103
	<anonym> https://discourse.gnome.org/assets/start-discourse-9f921142b762fb91207051d0a28e571b9455bab74e7d0e03726024c286cff8d5.js:6:27
JS-file:

Code: Select all

document.addEventListener("discourse-init",(e=>{performance.mark("discourse-init")
const t=e.detail
require(`${t.modulePrefix}/app`).default.create(t).start()})),function(){if(window.unsupportedBrowser)throw"Unsupported browser detected"
let e=document.querySelector('meta[name="discourse/config/environment"]')
const t=JSON.parse(decodeURIComponent(e.getAttribute("content"))),n=new CustomEvent("discourse-init",{detail:t})
document.dispatchEvent(n)}()

//# sourceMappingURL=start-discourse-3b7f478ea9577c9b263b33702f46508dcef297c544bf9f7693aba93b8eb723ce.map
//!
;

User avatar
frostknight
Astronaut
Astronaut
Posts: 518
Joined: 2022-08-10, 02:25

Re: discourse.gnome.org

Unread post by frostknight » 2025-01-20, 00:51

ibinshoid wrote:
2025-01-19, 11:09
On discourse.gnome.org only the list of topics is displayed and a warning that my browser is unsupported.

add this to your config of http modify response:


[["/discourse|^discuss|^community|^forum\\.|cloudfront|resource\\.dopus\\.com|cdn\\.tarnkappe\\.info|devtalk\\.blender\\.org/",["/browser-detect-/",["/.*/g",""]],["/discourse-[0-9a-f]{4}/",["(.d-modal-legacy\"","(.d-modal-legacy)\"","document.execCommand(\"insertText\",!1,","this._textarea.setRangeText("]]]]

Or if you want, you can do it via the new version:

intercept and modify http response 4.3

and then you have to do it differently. I forget how I set it up when I did it that way. I copied and pasted a specific format and it worked once I turned it on.

But yeah, this problem is one that palemoon users have run into.

Discourse is a pile of horse crap.

If this doesn't fix your problem, just know someone did make a config for this on this forum for discourse.

Feel free to search, you should be able to find it on here. Trust me, I know how annoying discourse is. ;)
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2801
Joined: 2012-08-19, 20:32

Re: discourse.gnome.org

Unread post by back2themoon » 2025-01-22, 00:13

ibinshoid wrote:
2025-01-19, 11:09
On discourse.gnome.org only the list of topics is displayed and a warning that my browser is unsupported.
Your link (which is not a link) works with the current solution, mentioned by frostknight. There are several discussions about the Discourse issue, the main one being here:

viewtopic.php?f=70&t=29327
frostknight wrote:
2025-01-20, 00:51
Or if you want, you can do it via the new version: intercept and modify http response 4.3 and then you have to do it differently. I forget how I set it up when I did it that way. I copied and pasted a specific format and it worked once I turned it on.
You just paste the code meant for the older "Modify HTTP Response" extension, into the Convert Filter Syntax function available in the newer "Intercept & Modify HTTP Response", to be found here on the forum.

User avatar
frostknight
Astronaut
Astronaut
Posts: 518
Joined: 2022-08-10, 02:25

Re: discourse.gnome.org

Unread post by frostknight » 2025-01-23, 02:22

back2themoon wrote:
2025-01-22, 00:13
You just paste the code meant for the older "Modify HTTP Response" extension, into the Convert Filter Syntax function available in the newer "Intercept & Modify HTTP Response", to be found here on the forum.
That's true, I had forgotten.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
mifritscher
Moongazer
Moongazer
Posts: 11
Joined: 2021-01-21, 11:44

Re: discourse.gnome.org

Unread post by mifritscher » 2025-03-09, 18:07

The problem seems to be missing functionality for "aspect-ratio: 1", if I understand https://meta.discourse.org/t/browser-de ... x/273848/2 right.

Could that be implemented, at least as a stub? A overview can be found under https://www.w3schools.com/cssref/css_pr ... -ratio.php, a short demo can be found under https://www.w3schools.com/cssref/trycss ... _inuse.htm .

That should help many discourse installations.

User avatar
RealityRipple
Keeps coming back
Keeps coming back
Posts: 842
Joined: 2018-05-17, 02:34
Location: Los Berros Canyon, California

Re: discourse.gnome.org

Unread post by RealityRipple » 2025-03-09, 19:04

Aspect-Ratio has been on the list for two years, and had a tiny bit of groundwork 5 years ago, but the actual work involved is massive (look in the references list) and has to be done half-from-scratch because FF added it after switching to rust.

User avatar
frostknight
Astronaut
Astronaut
Posts: 518
Joined: 2022-08-10, 02:25

Re: discourse.gnome.org

Unread post by frostknight » 2025-03-10, 04:40

RealityRipple wrote:
2025-03-09, 19:04
Aspect-Ratio has been on the list for two years, and had a tiny bit of groundwork 5 years ago, but the actual work involved is massive (look in the references list) and has to be done half-from-scratch because FF added it after switching to rust.

How long will that take you think? To finish that aspect ratio code?
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
RealityRipple
Keeps coming back
Keeps coming back
Posts: 842
Joined: 2018-05-17, 02:34
Location: Los Berros Canyon, California

Re: discourse.gnome.org

Unread post by RealityRipple » 2025-03-10, 08:18

frostknight wrote:
2025-03-10, 04:40
RealityRipple wrote:
2025-03-09, 19:04
Aspect-Ratio has been on the list for two years, and had a tiny bit of groundwork 5 years ago, but the actual work involved is massive (look in the references list) and has to be done half-from-scratch because FF added it after switching to rust.

How long will that take you think? To finish that aspect ratio code?
From what starting point? I don't think any one person knows the totality of this base code, and the number of C-proficient developers on the "team" can be counted on one hand. This project is nearly a one-man show for both the daily minutiae and the long tasks. A few of us contribute where we're proficient or where we're invested, but we're talking about a major change to the dimensions math of literally every single interface object type that HTML can pull from (and XUL if we want to implement it in the chrome-capable CSS, which... we don't really need).

User avatar
frostknight
Astronaut
Astronaut
Posts: 518
Joined: 2022-08-10, 02:25

Re: discourse.gnome.org

Unread post by frostknight » 2025-03-10, 10:47

RealityRipple wrote:
2025-03-10, 08:18
From what starting point? I don't think any one person knows the totality of this base code, and the number of C-proficient developers on the "team" can be counted on one hand. This project is nearly a one-man show for both the daily minutiae and the long tasks.
Ah so it hasn't even begun. I wasn't aware. So I should basically assume it will be a very long time then. My bad...
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
pale guru
Moonbather
Moonbather
Posts: 68
Joined: 2021-11-06, 11:10
Location: Tyskland

Re: discourse.gnome.org

Unread post by pale guru » 2025-03-17, 22:45

Add https://discuss.kde.org/ to your list.

Browsers can do anything that could be sone only with Flash, yet people have to use Javascript for a simple discussion board. Woltlab is another nominee for the “Most Unnecessary Javasscript Award”.
… tanning in dimmed LCD light. – Evry 1′s a beginner, baby, that's the truth…

User avatar
Artisticum_235
Moongazer
Moongazer
Posts: 7
Joined: 2022-11-29, 13:11

Re: discourse.gnome.org

Unread post by Artisticum_235 » 2025-03-22, 21:03

Just a question: why the extension "Modify http response" isn't included in the official PM extensions page?

It is simply brilliant, and absolutely indispensable in some cases (discourse compatibility being one of these case).

It allows for us, the ignorants, to solve rendering problems quick and easy way, by copying and pasting formulas that you, the geniuses, could share with us like actual Santas! :thumbup:
Thank you so much ! :clap:
My main conf: Notebook MSI Creator Z16, Intel i7 11th gen, 32 go ram, nvidia rtx 3060, Win11 24H2 + Palemoon forever! :cool:

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2801
Joined: 2012-08-19, 20:32

Re: discourse.gnome.org

Unread post by back2themoon » 2025-03-22, 21:32

Artisticum_235 wrote:
2025-03-22, 21:03
Just a question: why the extension "Modify http response" isn't included in the official PM extensions page?
That is up to the extension developer, I believe.

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

Re: discourse.gnome.org

Unread post by Moonchild » 2025-03-22, 23:05

back2themoon wrote:
2025-03-22, 21:32
That is up to the extension developer, I believe.
100% correct. We don't mandate the use of addons.palemoon.org for any extension developer.
"The world will not be destroyed by those who do evil, but by those who watch them without doing anything." - Albert Einstein
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite