I am trying to read a local text file, only using Chrome Bookmarklet. I cannot use extensions or install any software, though I can use js libraries which can be used in a bookmarklet like jquery. This is the use-case I am trying to solve:
Say there is a list of keywords on a text file (one word in each line). I want to highlight these keywords on a page when bookmarklet is injected. These are the steps I am following:
I am stuck at the second step since I can't use fs. Can a bookmarklet read a local file for this scenario?