Login reminder popup remover

Removes the nagging login popups and banners from mobile and desktop versions of Facebook, Instagram, Reddit, Twitter, Quora, Ask.fm, VK, Pinterest, Tumblr and from the mobile version of Youtube.

< Feedback on Login reminder popup remover

Review: Good - script works

§
Posted: 2021-12-14

Hi, thanks a lot for your work! It seems that Twitter has changed something that would make the script break the site. In some cases, this script will make users unable to scroll up for older thread tweets. An example is:

https://twitter.com/p_malynin/status/1469871179301224454

StephenPAuthor
§
Posted: 2021-12-14

Thank you for the report, I'll check it in the next days.

StephenPAuthor
§
Posted: 2021-12-18

Hi, I'm trying to replicate your issue, but I can't. Can you tell me which browser and userscript manager are you using?

§
Posted: 2021-12-19

Hi. Sorry but it seems that I can also no longer reproduce this with the same configurations.

I'll update the rating accordingly.

§
Posted: 2021-12-30

Hi, I'm trying to replicate your issue, but I can't. Can you tell me which browser and userscript manager are you using?

Hi Stephen,
on firefox 64bit (tested with all my other addons disabled) removing the login popup nag on twitter doesn't allow the scroll bar to appear. Happens withing a status aswell: https://imgur.com/a/iIWcC4W

§
Posted: 2021-12-30

As a follow-up (can't edit my above post: access denied, wtf?): i use ublock origin and it renders the same results with the scrollbar not appearing. Using ublock i didn't even notice they had a nag screen lol

StephenPAuthor
§
Posted: 2021-12-31

Sorry for the late replies:

Hi. Sorry but it seems that I can also no longer reproduce this with the same configurations.

I'll update the rating accordingly.

Thank you, I'm glad that is solved without intervention.

Hi Stephen,
on firefox 64bit (tested with all my other addons disabled) removing the login popup nag on twitter doesn't allow the scroll bar to appear. Happens withing a status aswell: https://imgur.com/a/iIWcC4W

I'll have to check this one: twitter is constantly using any possible html trick to nag the users. When a popup appears, they also lock the scrollbar, but they might have changed the way they block it.

As a follow-up (can't edit my above post: access denied, wtf?): i use ublock origin and it renders the same results with the scrollbar not appearing. Using ublock i didn't even notice they had a nag screen lol

Access denied is because you can only edit your own comments after some minutes, it's the normal behaviour of Greasyfork.
I definitely have to try my script also without uBlock origin: it seems stupid, but while I've tested the script with different browsers, I've never tested it without uBlock origin.

StephenPAuthor
§
Posted: 2021-12-31

I'm trying to replicate your issue, but I can always see the scrollbar. Can you check if the overflow-y property is somewhere in the HTML, BODY or DIV#react-root elements? If it's there, it should be "overflow-y: scroll" and not "overflow-y: hidden" or "overflow: hidden".
You should in theory see what I see in the screenshot:

§
Posted: 2022-01-01

Thanks StephenP. Great work, that's the problem.

I just added the following lines in the script in the applyusercss function in the twitter section to fix it for my browser (firefox 95.0.1 (64-bit)):
window.addEventListener('load', (event) => {
window.setTimeout(() => { //wait a short amount of time for twitter to set overflow:hidden
document.childNodes[1].style.overflow=''; //html element, clear style
}, 500);
});

StephenPAuthor
§
Posted: 2022-01-11

Thanks StephenP. Great work, that's the problem.

I just added the following lines in the script in the applyusercss function in the twitter section to fix it for my browser (firefox 95.0.1 (64-bit)):
window.addEventListener('load', (event) => {
window.setTimeout(() => { //wait a short amount of time for twitter to set overflow:hidden
document.childNodes[1].style.overflow=''; //html element, clear style
}, 500);
});

Thank you Paul! It will be in the next update that I'm uploading now.

Post reply

Sign in to post a reply.