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
Lunatic
Lunatic
Posts: 437
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: 2655
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
Lunatic
Lunatic
Posts: 437
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!

Post Reply