Text Highlight and Seek

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

< Feedback on Text Highlight and Seek

Review: قالتىس - قوليازما ئىشلەيدۇ

§
يوللانغان ۋاقتى: 2021-09-27

I seem to have made an error in a regex and now the script crashes on page load. I can not access the highlight library to try and fix the error. Where is the location to the script library so I can go in and edit it out?

Jefferson Scherئاپتور
§
يوللانغان ۋاقتى: 2021-09-27
تەھرىرلەنگەن ۋاقتى: 2021-09-27

Hi, what browser are you using, and which *monkey extension?

In Firefox with Violentmonkey, I would do this:

  • Open about:debugging#/runtime/this-firefox
  • Click the Inspect button for Violentmonkey
  • On the new Inspector tab, switch to the Storage sub-tab
  • Expand Extension Storage and click the extension URL
  • In the filter bar above the list of values, type kwstyles

One of the references will be in the source code, and the other will be in the JSON data for the script. You can double-click the data and "Copy" it and then paste it somewhere for future reference and probably some editing/importing, although I haven't thought through the steps. After safely saving your data somewhere else, you can delete the selected script data to return to default settings.

Jefferson Scherئاپتور
§
يوللانغان ۋاقتى: 2021-09-27

Editing JSON is a pain, but here's an example of a RegEx set from beginning (preceding comma) to end (closing curly brace) that you would want to excise from the structure:

,\"set108\":{\"keywords\":\".[\\\\r\\\\n]{1,4}To\",\"type\":\"regex\",\"hlpat\":\"\",\"textcolor\":\"rgb(0,0,255)\",\"backcolor\":\"rgb(255,255,0)\",\"fontweight\":\"inherit\",\"custom\":\"\",\"enabled\":\"true\",\"visible\":\"false\",\"updated\":\"2021-08-27T15:33:06.493Z\",\"prevkeyw\":\"content.[\\\\r\\\\n]{1,4}To\",\"prevtype\":\"regex\"}

§
يوللانغان ۋاقتى: 2021-09-28

OK. I was not able to do a simple fix, but thanks to you, I was able to copy all the information and do a reinstallation of the script.

Thanks.

§
يوللانغان ۋاقتى: 2024-03-10

Did it again but this time I can not seem to find the data.

Current FF and using Violent Monkey.

I looked at the data in the area you said and nothing shows the things I need highlighted.

§
يوللانغان ۋاقتى: 2024-03-20

OK. Took a break and came back and found it again. Thanks again for an excellent script.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.