tumpio / gmscripts

tumpio's usercripts
https://openuserjs.org/users/tumpio
MIT License
61 stars 28 forks source link

Fix bug in Firefox where overflow didn't reset #25

Closed joeytwiddle closed 3 years ago

joeytwiddle commented 4 years ago

I've been getting unwanted horizontal scrollbars for a few months now. Today I discovered the cause, and a solution.

I also renamed the variable, sorry!

(Setting overflow back to '' hasn't been necessary in my experience, but it feels better to leave things how they were before.)

I just added this fix today. If you want to wait a week, I can report whether there were any issues.

To reproduce: I see the problem when logged in to https://messenger.com/

Currently using: Firefox Developer Edition 78.0b9 (64-bit)

joeytwiddle commented 4 years ago

Two weeks no problems.