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

Automate Just Read #444

Open
normanicus opened this issue Oct 26, 2024 · 7 comments
Open

Automate Just Read #444

normanicus opened this issue Oct 26, 2024 · 7 comments

Comments

@normanicus
Copy link

I want to activate Just Read using Javascript (or Applescript). Is this possible?

@ZachSaucier
Copy link
Owner

Hey normanicus. Tell me more. What's the purpose for this request? What is your end goal?

@normanicus
Copy link
Author

normanicus commented Oct 26, 2024 via email

@ZachSaucier
Copy link
Owner

ZachSaucier commented Oct 26, 2024

Thanks for the context!

The first thing I would investigate is to see if you can make use of Just Read's auto-run functionality. You might be able to just add the domain of your page to the auto-run list and Just Read will automatically run on the page!

If that doesn't work for some reason (perhaps due to restrictions / limitations of this pseudo web browser or a security issue), you might be able to modify Just Read to use messaging to run Just Read on your page. How you would set up this sort of workflow is to modify Just Read to call the start method when a particular message is sent from a webpage (Just Read already has some message listeners set up here and here that you could extend).

@ZachSaucier
Copy link
Owner

ZachSaucier commented Oct 26, 2024

Also of note, Just Read makes use of Mozilla's Readability in its content auto-selection. It might be kind of problematic to use a full web extension in your environment. A simpler solution might be to integrate Readability more directly into your flow, perhaps making use of one of the cli versions (1, 2, 3).

@normanicus
Copy link
Author

normanicus commented Oct 27, 2024 via email

@ZachSaucier
Copy link
Owner

I don't remember the exact details, but I attempted to port Just Read to Safari in the past and failed to do so.

@normanicus
Copy link
Author

normanicus commented Oct 27, 2024 via email

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

No branches or pull requests

2 participants