Skip to content

Extension not reading anything on some websites #6

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

Open
andreagdipaolo opened this issue Feb 1, 2025 · 3 comments
Open

Extension not reading anything on some websites #6

andreagdipaolo opened this issue Feb 1, 2025 · 3 comments

Comments

@andreagdipaolo
Copy link

I noticed that on many websites the extension is not working properly.

I tried, for example, the following:
https://www.odisseaquotidiana.com/2025/02/metro-d-patane-risponde.html
github
gmail

Reddit seems to work, along with ilpost.it, bluesky, google search and https://fibra.click/newsletter/

But if I try to read the read mode provided by Microsoft Edge it doesn't work.
The one whose URL starts with read://https_www.ilpost.it/
I use Edge on Linux. It doesn't natively support tts like the Windows version.

What do the not working pages have in common?
Thanks in advance

@moojing
Copy link

moojing commented Feb 7, 2025

Hi,
I don't know why but all the websites you posted above seems to work for me.

However I do notice there's one situation that audio file generated on the contentScript is not allowed to play because of the content policy setting of the website.

Check you console and see if there's some problem like this:
Image

you can read any pages of MDN Doc and you'll see error like that.

For this issue I am making a PR to fix it, hope this will fix your problem.


Update: see the PR here

@andreagdipaolo
Copy link
Author

The extension now works on the websites I listed before. But I did nothing, I just rebooted my pc and thus restarted the browser.
It still does not work in the Edge read mode. Have you noticed anything about that?
It does not produce any error in the console. Maybe it's a framework and not a real webpage?
Thanks for the update! It will surely make things better.

@moojing
Copy link

moojing commented Feb 11, 2025

You mean you're using Edge Browser's Browser and it's not working on Linux?
Idk why but it works on my Mac though. (I've tried installing this extension on Edge Browser.)

Image

As I know, the edge tts client we use will pretend to open an Edge browser and fetch the audio stream needed for the reading, but if the Edge Browser isn't natively support this feature maybe it won't work ? Not sure if I am correct so maybe we can ask @travisvn for advice.

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