You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refined github on safari causing errors + page reload #7942
I'm seeing errors whenever loading the GitHub notifications view and using refined github. This causes Safari to say "this page was reloaded because of a problem". After enough clicks and archiving of notifications, Safari refuses to load:
I have confirmed that this doesn't happen if I disable refined github, and clearing the cache did not make the problem go away.
Thanks for the report. I'm aware of this problem and it's actually a browser bug related to selectors, similar to #7252.
In my case, I see the page consistently crashing just as I leave it, which Safari successfully and immediately recovers from, which is why I've never prioritized it.
It would be good to find which selector is causing this and change it, but it takes a lot of page refreshes, sometimes the issue doesn't appear. The bisect feature might be useful here.
Thanks for the context. I have never done any webdev so I will leave this in your capable hands, but just wanted to say, I just switched browsers from Firefox, where I have been using refined github for years, and as soon as I logged into GH I was like OH MY GOD HOW DO PEOPLE WORK LIKE THIS 😂, so I just signed up as a sponsor. Huge thank you for your work!!! 🙏
btw, I did notice a mention in the logs of polyfill being blocked by "a content blocker" (I use 1Blocker), so maybe some refined-github features are still, directly or indirectly, relying on polyfill, causing issues?
Content blockers don't block scripts from other extensions, and also we don't use polyfills in any capacity. You can actually find the error in Console.app and it points to selectors specifically, unfortunately it doesn't say which one.
Activity
jni commentedon Oct 23, 2024
Thank you! 🙏
fregante commentedon Oct 23, 2024
Thanks for the report. I'm aware of this problem and it's actually a browser bug related to selectors, similar to #7252.
In my case, I see the page consistently crashing just as I leave it, which Safari successfully and immediately recovers from, which is why I've never prioritized it.
It would be good to find which selector is causing this and change it, but it takes a lot of page refreshes, sometimes the issue doesn't appear. The bisect feature might be useful here.
It seems that a good repro for the issue is:
jni commentedon Oct 23, 2024
Thanks for the context. I have never done any webdev so I will leave this in your capable hands, but just wanted to say, I just switched browsers from Firefox, where I have been using refined github for years, and as soon as I logged into GH I was like OH MY GOD HOW DO PEOPLE WORK LIKE THIS 😂, so I just signed up as a sponsor. Huge thank you for your work!!! 🙏
jni commentedon Oct 23, 2024
btw, I did notice a mention in the logs of polyfill being blocked by "a content blocker" (I use 1Blocker), so maybe some refined-github features are still, directly or indirectly, relying on polyfill, causing issues?
fregante commentedon Oct 23, 2024
Thank you!
Content blockers don't block scripts from other extensions, and also we don't use polyfills in any capacity. You can actually find the error in Console.app and it points to selectors specifically, unfortunately it doesn't say which one.