joelacus / RedditEnhancer

A browser extension to tweak the user interface on Reddit
88 stars 1 forks source link

Extension is breaking reddit.com #14

Closed dnestico closed 1 year ago

dnestico commented 1 year ago

For some reason reddit stopped working today so I checked the logs and it was full of stuff related to the extension, turned it off and reddit.com works again.

Extension on:

Screenshot 2023-05-23 at 9 54 57 PM

Extension off:

Screenshot 2023-05-23 at 9 56 38 PM
joelacus commented 1 year ago

That's strange. Has it happened more than once, and does it work if you re-enable the extension and refresh reddit? Also, what logs were you reading, and what is the URL when it says "page not found"?

dnestico commented 1 year ago

Just turned it back on and still broken for some reason, idk why suddenly its breaking.

Here is the URL it redirects too: https://www.reddit.com/undefined - I'm using Arc Browser btw.

Also here are the console logs I was talking about:

Screenshot 2023-05-23 at 11 53 47 PM Screenshot 2023-05-23 at 11 54 14 PM Screenshot 2023-05-23 at 11 54 27 PM
Carighan commented 1 year ago

Arc is not in the list of supported browsers, so could very well be an inherent incompatibility.

joelacus commented 1 year ago

I've not heard of Arc, but that isn't the problem. I figured out what was wrong and managed to replicate your issue myself. It seems you have "Default Feed Sort Option" enabled, but haven't changed the option from default (Best) to something else. This caused the option to be "undefined" when it tried to set the default feed sort option when the page loads. I made a typo which caused this to not be handled correctly, but it should be fine in the next update.

It'll take a week for Google to approve my update, but in the meantime, either disable the "Default Feed Sort Option" or change the option in the dropdown menu.

dnestico commented 1 year ago

Looks like that worked! Thanks.

disable the "Default Feed Sort Option"