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

Add site ReaperScan #1649

Open
wants to merge 1 commit into
base: ExperimentalTabMode
Choose a base branch
from

Conversation

jeremie8
Copy link

solves #1403 and #1064, had to do a few hacks to get it working: for the list of chapters i'm getting it from api.reaperscans.com, and i get the content of each chapter in a script on the page.

@gamebeaker
Copy link
Collaborator

gamebeaker commented Jan 25, 2025

@jeremie8 thanks for the commit can you please fix the eslint errors?
image
You have missed to add yourself in readme.md as contibutor.
It doesn't work for me with these links:
https://reaperscans.com/series/the-divine-hunter
https://reaperscans.com/series/overgeared
image

what are the links you tested?

const unicodeDecoded = JSON.parse(`"${input}"`);
// Decode HTML entities
const textarea = document.createElement("textarea");
textarea.innerHTML = unicodeDecoded;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Google and Mozilla may refuse to accept an extension that assigns text to innerHTML. You should use DOMParser's parseFromString() to convert string to HTML. https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString

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

Successfully merging this pull request may close these issues.

3 participants