howlongtobeat.com Login Issues

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
AXtooshort
New to the forum
New to the forum
Posts: 1
Joined: 2023-05-23, 14:49

howlongtobeat.com Login Issues

Unread post by AXtooshort » 2023-05-23, 15:05

Hello guys and gals!
Today I happily saw that JS import was implemented in the newly released version of PM, so I got all excited and installed right away.
I was testing which websites that I started to use exclusively in FF now began to work again and among many others I stumbled upon howlongtobeat.com that shows a "405 Method Not Allowed." error if you try to login. It doesn't matter if the filleds are filled or not, so it's fairly easy to reproduce without registering. That being said, trying to register shows the same error message.

How to reproduce:
1) Go to https://howlongtobeat.com/login
2) Click on "Login" Button
3) Behold "405 Method Not Allowed."

I'm not sure it's relevant because it pops up on every page, but only trying to login/register shows 405 error.

Code: Select all

ReferenceError: BigInt is not defined
Stack trace:
[1846]@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:42989
l@https://howlongtobeat.com/_next/static/chunks/webpack-0514669d3d5a2760.js:1:169
[2791]@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:39455
l@https://howlongtobeat.com/_next/static/chunks/webpack-0514669d3d5a2760.js:1:169
[2590]@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:36319
l@https://howlongtobeat.com/_next/static/chunks/webpack-0514669d3d5a2760.js:1:169
[4772]@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:40893
l@https://howlongtobeat.com/_next/static/chunks/webpack-0514669d3d5a2760.js:1:169
V@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:71830
m@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:26965
ei@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:13377
As far as I remember my issue with this website used to be something else, I believe you could login, but something else was not working properly, so I switched to FF when using it. That makes me think that this issue has something to do with recent PM changes.

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

Re: howlongtobeat.com Login Issues

Unread post by Moonchild » 2023-05-23, 15:21

Getting a 405 back by definition isn't a browser problem; rather it's the server refusing to process the request. Most likely they are doing some useragent sniffing or other "security" measures that prevent Pale Moon from being used. i checked the network requests and it's a simple form POST that the server refuses to accept from the browser.

BigInt isn't supported yet by us but that doesn't seem to be the breaking 405 issue here.
"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
therube
Board Warrior
Board Warrior
Posts: 1650
Joined: 2018-06-08, 17:02

Re: howlongtobeat.com Login Issues

Unread post by therube » 2023-05-23, 15:35

I'll note that in FF, I get a captcha that is not seen in PM (nor SeaMonkey).

(Spoofing the UA did not help.)

Code: Select all

ReferenceError: BigInt is not defined
Stack trace:
[1846]@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:42989
l@https://howlongtobeat.com/_next/static/chunks/webpack-0514669d3d5a2760.js:1:169
[2791]@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:39455
l@https://howlongtobeat.com/_next/static/chunks/webpack-0514669d3d5a2760.js:1:169
[2590]@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:36319
l@https://howlongtobeat.com/_next/static/chunks/webpack-0514669d3d5a2760.js:1:169
[4772]@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:40893
l@https://howlongtobeat.com/_next/static/chunks/webpack-0514669d3d5a2760.js:1:169
V@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:71830
m@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:26965
ei@https://howlongtobeat.com/_next/static/chunks/main-4d3530783eadf2ed.js:1:13377
  
(unknown)
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified  
(unknown)
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified  
(unknown)
Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified  
(unknown)
Strict-Transport-Security: The site specified a header that included an invalid ‘max-age’ directive.[Learn More]  
sn.ashx
Strict-Transport-Security: The site specified a header that included an invalid ‘max-age’ directive.[Learn More]  
sn.ashx
Powered by AMP ⚡ HTML – Version 2305152039000 "https://howlongtobeat.com/login"  
amp4ads-v0.mjs:2:226021

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

Re: howlongtobeat.com Login Issues

Unread post by Moonchild » 2023-05-23, 16:39

therube wrote:
2023-05-23, 15:35
I get a captcha that is not seen in PM (nor SeaMonkey).
That would explain the 405 then (wrong error to throw but whatever)

If the captcha needs BigInt to work then we can't work around this and you'll have to use a different browser until we have Bigint
"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
adoxa
Fanatic
Fanatic
Posts: 153
Joined: 2019-03-16, 13:26

Re: howlongtobeat.com Login Issues

Unread post by adoxa » 2023-05-24, 00:57

A Modify HTTP Response filter to work around BigInt, causing login to work (at least, it shows the Captcha and tells me I need a user name).

Code: Select all

[["howlongtobeat.com",["/_next\\/static\\/chunks\\/main-/",["BigInt.asUintN(a,i*l)","(i*l)&0xffffffff","/BigInt/g",""]]]]

Locked