Text Highlight and Seek

Automatically highlight user-defined text with Seek function (2019-09-22)

< Feedback on Text Highlight and Seek

Review: Good - script works

Hello, where can I find the json file in chrome? When trying to import more than 150 sets, the popup remains empty.Is it possible to change json directly? I'm using Tampermonkey.

§
Posted: 2021-09-28
Edited: 2021-09-28

How far is it getting -- do you get the prompt to resolve conflicts? If you get nothing, maybe there is a limit on the JavaScript prompt() box and I need to build a form instead.

Tampermonkey has Dashboard > Utilities > Files > Export, which allows extracting your current sets, but this file is for the complete configuration (all of your scripts and their data), so I don't think it would be safe to edit and import.

As an experiment, I edited the code in Tampermonkey and replaced this part of line 702

prompt("Paste in the exported data and click OK to start parsing", "")

with the actual JSON I wanted to import (only 7 sets), between outer quotation marks ("JSON").

Then when I ran the import, it asked me whether I wanted to add them and it was able to do so. Worth a try? You can undo your edit after the experiment.

Post reply

Sign in to post a reply.