I recently tried to add --disable-npapi to default .mozconfig when building palemoon.
I did this by adding a USE flag to my gentoo ebuild of palemoon, which is a build automation script.
I have noticed that when I build palemoon witn --disable-npapi, cloudflare checks stop working.
I am prompted with a box to check for some "human verification" bullshit, which keeps failing, reloading the page automatically, and prompting me to check the box again.
I have then tested the official build of palemoon, and this stopped happening.
I then rebuilt palemoon with --enable-npapi, which is probably equivalent to not passing anything regarding npapi, and the problem stopped appearing.
I then rebuild palemoon again with --disable-npapi and the problem started happening again.
Any ideas how to fix/work around this?
Cloudflare problems with --disable-npapi
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
-
stefan11111
- Apollo supporter

- Posts: 49
- Joined: 2023-08-13, 18:09
-
Moonchild
- Project founder

- Posts: 39699
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: Cloudflare problems with --disable-npapi
Report it to cloudflare? We have no control over the arbitrary set of checks they perform and in what way they could fail.
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
stefan11111
- Apollo supporter

- Posts: 49
- Joined: 2023-08-13, 18:09
Re: Cloudflare problems with --disable-npapi
Also, from further testing with my --disable-npapi build, the webmail from pissmail and cock.li seems to be broken.
Here is the output from the dev console:
Here is the output from the dev console:
Code: Select all
jQuery.Deferred exception: s is undefined rcube_webmail/this.pdf_support_check@https://mail.pissmail.com/webmail/program/js/app.min.js?s=1640816963:35:169708
rcube_webmail/this.browser_capabilities_check/<@https://mail.pissmail.com/webmail/program/js/app.min.js?s=1640816963:35:168983
each@https://mail.pissmail.com/webmail/program/js/jquery.min.js?s=1640817055:36:2976
rcube_webmail/this.browser_capabilities_check@https://mail.pissmail.com/webmail/program/js/app.min.js?s=1640816963:35:168820
rcube_webmail/this.init@https://mail.pissmail.com/webmail/program/js/app.min.js?s=1640816963:35:10027
@https://mail.pissmail.com/webmail/?_task=mail&_mbox=INBOX:459:8
e@https://mail.pissmail.com/webmail/program/js/jquery.min.js?s=1640817055:36:30005
l/</t<@https://mail.pissmail.com/webmail/program/js/jquery.min.js?s=1640817055:36:30307
undefined
jquery.min.js:36:31560
TypeError: s is undefined[Learn More]
app.min.js:35:169708
TypeError: this.treelist is undefined[Learn More]
-
Moonchild
- Project founder

- Posts: 39699
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: Cloudflare problems with --disable-npapi
I see "browser capabilities check" in the stack there, so it's probably just something they don't expect.
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite