www.thefp.com can't see whole page (samesite problem?)

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
mmouse
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2019-02-13, 06:47

www.thefp.com can't see whole page (samesite problem?)

Unread post by mmouse » 2024-03-21, 09:44

Hello

When attempting to scroll down, the page flashes and get back to the top.

example of page: https://www.thefp.com/p/florida-just-ba ... grown-meat

I tried another article and have seen the same problem,

Tried with Firefox, what happens there is at the same moment the page flashes under Palemoon, a subscribe pop-up is displayed.
It is not under Palemoon.

Same thing happens under Palemoon 33.0.1 Linux and Windows 64 bits.

When looking at the Firefox console, the same message are displayed in the web console as happens in Palemoon, except that Firefox log displays also a bunch of samesite warnings:

Code: Select all

Some cookies are misusing the recommended “SameSite“ attribute

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

Re: www.thefp.com can't see whole page (samesite problem?)

Unread post by Moonchild » 2024-03-21, 11:55

It flashes at the point where on other browsers the "subscribe now" nag dialog would pop up. So this is probably on purpose.
"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
mmouse
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2019-02-13, 06:47

Re: www.thefp.com can't see whole page (samesite problem?)

Unread post by mmouse » 2024-03-21, 21:09

Well, yes, however with Firefox the nag screen does not actually block reading the article, it's a reminder that it's possible to subscribe: one can just dismiss it.
That's not possible with Palemoon since it's not displayed.

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

Re: www.thefp.com can't see whole page (samesite problem?)

Unread post by Moonchild » 2024-03-21, 22:07

Not sure what to say, other than contacting the website and explaining what's happening, asking them to look into it. Especially if there isn't really anything useful in the browser console or what not; reverse-engineering web scripting isn't really something we can do in most cases.
"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: 170
Joined: 2019-03-16, 13:26

Re: www.thefp.com can't see whole page (samesite problem?)

Unread post by adoxa » 2024-03-22, 06:05

It's something to do with this:

Code: Select all

                      if (pageHeightHalf < scroll) {
                          emailModal.style.display = "block";
                          document.querySelector("body").classList.add("lockScreen");
                      } else {
                          emailModal.style.display = "none";
                          document.querySelector("body").classList.remove("lockScreen");
                      }
Presumably what it's supposed to do is display emailModal and hide the body, but I'm guessing hiding the body is resetting the scroll position, removing emailModal. Quick fix would be to open the inspector, find myEmailModal, change the display style to block, then click "Maybe Later" (sets a 24-hour cookie). Or turn off Javascript.