lnreader icon indicating copy to clipboard operation
lnreader copied to clipboard

Feature Request: Name/Text Replacement

Open LurkAndLoiter opened this issue 1 month ago • 1 comments

Describe your suggested feature

Several book readers have this. I never understood it until I came across a book where the MC was named Aksai. Genuinely have never had anything trigger my ADD as much as this name was.

simply sed s/Aksai/John/g. I'd imagine this to be a book specific option in drop down menu and would run replace during chapter loading and wouldn't alter source/downloads as to be nondestructive.

Other details

No response

Acknowledgements

  • [x] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • [x] I have written a short but informative title.
  • [x] If this is an issue with a source, I should be opening an issue in the sources repository.
  • [x] I have updated the app to version 2.0.1.
  • [x] I will fill out all of the requested information in this form.

LurkAndLoiter avatar Nov 18 '25 20:11 LurkAndLoiter

There is currently no such method implemented, but you can do it yourself with customJS

let html = document.getElementById("LNReader-chapter").innerHTML

html = html.replace(/Aksai/g,"John")

document.getElementById("LNReader-chapter").innerHTML = html

CD-Z avatar Nov 18 '25 20:11 CD-Z