Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome extension doesn't open H overlay on Reddit.com #6463

Open
chrisaldrich opened this issue Jul 17, 2024 · 1 comment
Open

Chrome extension doesn't open H overlay on Reddit.com #6463

chrisaldrich opened this issue Jul 17, 2024 · 1 comment

Comments

@chrisaldrich
Copy link

A few months back Reddit updated their web UI in a redesign and as a result, trying to activate the H overlay with the bookmarklet on Chrome (Version 126.0.6478.183 (Official Build) (64-bit)) no longer works.

When I attempt to activate it on most reddit pages, the web page moves over about 75 pixels as if it's resizing and going to open the H overlay, but the overlay fails and doesn't display at all. I'm using version 1.1497.0.0 (Official Build) of the Chrome H extension.

Going to one's Reddit Settings>>Preferences and toggling "Default to old Reddit" allows one to use H on it as expected. Because the old version of Reddit works and the new doesn't, I'm presuming there's some sort of conflicting .js at play in their new UI?

I don't see a similar issue with Reddit (new or old versions) using Firefox with the Unofficial Hypothesis extension by Diego de la Hera with version 1.470.0.2self from June 2022.

@robertknight
Copy link
Member

Related internal issue: https://github.com/hypothesis/support/issues/58. I'll reproduce my notes from there:

There is a CSS rule that tries to hide custom elements that are not loaded. This is unfortunately affecting our UI because it uses but doesn't register them.

*:not(:defined) {
display: none;
}

A workaround for technical users is to open developer tools, select one of the <hypothesis- elements in the Elements tab and disable this CSS rule:

Disable CSS rule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants