Skip to content

Highlights or annotations are not visible in Telegra.ph #1413

@OnkelTem

Description

@OnkelTem

After a highlight is created, it disappears from the page.

Example:

2023-11-21_18-45

Source:

https://telegra.ph/Strategy--Society---The-Link-Between-Competitive-Advantage-and-Corporate-Social-Responsibility-2006-11-21

I guess any telegra.ph article will be like that.

Activity

robertknight

robertknight commented on Nov 21, 2023

@robertknight
Member

It looks like this page includes some version of Quill on it. Whenever Hypothesis tries to insert a highlight on the page, the paragraph gets "sanitized" and only certain elements are retained afterwards (eg. <b> is allowed but <mark> is not).

OnkelTem

OnkelTem commented on Nov 22, 2023

@OnkelTem
Author

@robertknight Thanks for the analysis. Do you have any ideas on how to work this out?

robertknight

robertknight commented on Nov 22, 2023

@robertknight
Member

In short, you need to get a copy of the page without JavaScript. The dumbest solution is to print/export the page to a PDF and annotate that. Ideally we'd have a built-in way to do this with Hypothesis.

OnkelTem

OnkelTem commented on Nov 22, 2023

@OnkelTem
Author

In short, you need to get a copy of the page without JavaScript. The dumbest solution is to print/export the page to a PDF and annotate that. Ideally we'd have a built-in way to do this with Hypothesis.

Well, under solution I didn't mean solving my issue in particular. Instead, I was thinking about a way to get it working on telegra.ph by fixing something in Hypothesis. I think it might be important because it's a publication platform used by many.

Speaking of my specific situation and PDF. A funny thing is that a PDF - is what I had initially, but Hypothesis didn't want to work with it. I don't remember the precise error message tho, maybe it was due to its local path. So I spent an hour copy-pasting the article, paragraph after paragraph to this telegraph publication. To finally discover that Hypothesis won't work. Meh. Unlucky me.

Let me check if I can use a local PDF one more time.

OnkelTem

OnkelTem commented on Nov 22, 2023

@OnkelTem
Author

Nevermind, I should have read the message, haha. It clearly says I should have clicked this nice link: https://web.hypothes.is/help/annotating-locally-saved-pdfs/#2-change-your-settings-in-chrome-if-applicable

OnkelTem

OnkelTem commented on Nov 22, 2023

@OnkelTem
Author

Still, I think it would be great to get Hypothesis working in all telegra.ph pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @robertknight@OnkelTem

        Issue actions

          Highlights or annotations are not visible in Telegra.ph · Issue #1413 · hypothesis/browser-extension