Disqus problems on specific website

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!
mad2043

Re: Disqus problems on specific website

Unread post by mad2043 » 2019-08-20, 12:45

Hi,
I tried that once before without success, but I was probably too fast.
I need to wait a second after reload and then it works (or tried it more times).
Thank you

win7-7
Fanatic
Fanatic
Posts: 183
Joined: 2013-09-16, 15:18
Location: --

Re: Disqus problems on specific website

Unread post by win7-7 » 2019-08-25, 20:13

https://hg.mozilla.org/mozilla-central/ ... 56146e42b9

First good:

19.6.2018

Last bad:

18.6.2018

Somewhere in that log is reason why website works in Firefox 62 but not in earlier versions.

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

Re: Disqus problems on specific website

Unread post by Moonchild » 2019-08-26, 00:03

"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

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

Re: Disqus problems on specific website

Unread post by back2themoon » 2019-08-27, 15:35

Thanks win7-7/MC for pinpointing this. Would filing a bug/issue help?

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

Re: Disqus problems on specific website

Unread post by Moonchild » 2019-08-27, 16:33

Probably. It's a web compat issue at most since if it is this bug then it's just Disqus borking on unspecified behavior and assuming everything works like Chrome.
"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

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

Re: Disqus problems on specific website

Unread post by back2themoon » 2019-09-16, 13:11

Moonchild wrote:
2019-08-27, 16:33
Probably. It's a web compat issue at most since if it is this bug then it's just Disqus borking on unspecified behavior and assuming everything works like Chrome.
Is this something that can be controlled by each website, instead of Disqus themselves? I'm asking, because:

1. Disqus works as expected on most websites (Pale Moon, too).

2. If yes, I could ask the website as a test to try and "flip this switch". I'd appreciate it if you could help with the wording, since I'm not sure of what to ask.

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

Re: Disqus problems on specific website

Unread post by moonbat » 2019-09-16, 13:43

back2themoon wrote:
2019-09-16, 13:11
Is this something that can be controlled by each website, instead of Disqus themselves? I'm asking, because:

1. Disqus works as expected on most websites (Pale Moon, too).

2. If yes, I could ask the website as a test to try and "flip this switch". I'd appreciate it if you could help with the wording, since I'm not sure of what to ask.
Most likely it's an individual configuration for each site, because I've seen plenty of sites with and without it, and Disqus has no problems anywhere otherwise unless you block its cookies.
"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

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

Re: Disqus problems on specific website

Unread post by back2themoon » 2019-10-07, 14:43

As a workaround, I tried writing a simple Greasemonkey userscript to automatically click the 'show Disqus comments' button, hopefully before the issue takes over. After comparing "autoclick" scripts, copy/pasting and trying various parameters... I failed.

If anyone's up to it, these are the 3 currently reported problem websites:

Code: Select all

https://thepressproject.gr/*
https://www.postoj.sk/*
https://stream.org/*
example1 - example2 - example3

User avatar
Konrad
Fanatic
Fanatic
Posts: 142
Joined: 2018-11-17, 18:19

Re: Disqus problems on specific website

Unread post by Konrad » 2019-10-07, 18:49

If you have uBlock Origin running with Pale Moon, you can try the Disqus click-to-load filter by Raymond Hill.

When clicking on Κάνε κλικ για να σχολιάσεις, or Pozrieť diskusiu, or View/Leave Comments with the Disqus click-to-load filter enabled, you will see the button Disqus blocked by uBlock Origin: click to unblock. After clicking on it, a dark round sign with letter D appears and then comments will be loaded (with some delay — about 2 seconds).

The Disqus click-to-load filter is available on https://filterlists.com/

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

Re: Disqus problems on specific website

Unread post by coffeebreak » 2019-10-07, 20:19

Konrad wrote:
2019-10-07, 18:49
try the Disqus click-to-load filter
It works for me with the three reported sites.

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

Re: Disqus problems on specific website

Unread post by back2themoon » 2019-10-07, 21:28

Thanks Konrad, the filter does indeed bypass this issue. Of course now, lots more clicks are required to see if, and how many comments exist. Guess we can't have it all. :problem:

User avatar
Konrad
Fanatic
Fanatic
Posts: 142
Joined: 2018-11-17, 18:19

Re: Disqus problems on specific website

Unread post by Konrad » 2019-10-08, 15:19

back2themoon wrote:
2019-10-07, 21:28
Of course now, lots more clicks are required to see if, and how many comments exist.
I agree with you, back2themoon, and perceive the usage of that filter as a temporary solution until a better way out of the problem is found.

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

Re: Disqus problems on specific website

Unread post by back2themoon » 2019-10-08, 15:23

The filter breaks Disqus comments on other websites (not all) and looks like it's not being updated.

User avatar
Konrad
Fanatic
Fanatic
Posts: 142
Joined: 2018-11-17, 18:19

Re: Disqus problems on specific website

Unread post by Konrad » 2019-10-08, 15:48

I have never come across such breaks. Maybe there is a way to only set the filter for some specific websites?

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

Re: Disqus problems on specific website

Unread post by back2themoon » 2019-10-08, 16:46

Some of them are listed here. About enabling it for specific websites only... I don't know.

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

Re: Disqus problems on specific website

Unread post by coffeebreak » 2019-10-08, 20:47

Konrad wrote:
2019-10-08, 15:48
Maybe there is a way to only set the filter for some specific websites?
back2themoon wrote:
2019-10-08, 16:46
About enabling it for specific websites only... I don't know.
Limiting by domain does seem to work, both for the three problem sites, and the two broken by the filter list.
Documentation for it is here: Specifying filter options ->> Domain restrictions.

Disqus click-to-load's rules would need to be used as personal filters in uBO's "My filters" tab, rather than as a subscribed list.

To make them apply to only the three domains at issue, add the following to the end of each of the four rules:
(can add more domains if needed, separated by a "pipe", no spaces)

Code: Select all

,domain=thepressproject.gr|postoj.sk|stream.org
All together it would look like this:

Code: Select all

||disqus.com/forums/*/embed.js$script,redirect=disqus.com/forums/*/embed.js,domain=thepressproject.gr|postoj.sk|stream.org
||disqus.com/embed.js$script,redirect=disqus.com/embed.js,domain=thepressproject.gr|postoj.sk|stream.org
||disqus.com/count.js$script,domain=thepressproject.gr|postoj.sk|stream.org
@@||disqus.com/embed.js?_=1457540*$script,domain=thepressproject.gr|postoj.sk|stream.org

User avatar
Konrad
Fanatic
Fanatic
Posts: 142
Joined: 2018-11-17, 18:19

Re: Disqus problems on specific website

Unread post by Konrad » 2019-10-08, 22:38

coffeebreak, thanks a million!

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

Re: Disqus problems on specific website

Unread post by back2themoon » 2019-10-09, 08:36

Thanks coffeebreak, that's probably the most sensible workaround for now.

Locked