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

§
Posted: 14.11.2017.

Firefox 57 changes

Please update for firefox 57, I can not find how to change, add / remove sites where this script run.

The entire script menu from firefox is gone and we can not access that section anymore

§
Posted: 15.11.2017.

I'm sorry, it is going to take some time to figure out how best to be compatible with the new Greasemonkey. Until then, would you consider using the "Violentmonkey" extension to run this script?

https://addons.mozilla.org/firefox/addon/violentmonkey/

§
Posted: 16.11.2017.
I'm sorry, it is going to take some time to figure out how best to be compatible with the new Greasemonkey. Until then, would you consider using the "Violentmonkey" extension to run this script?

https://addons.mozilla.org/firefox/addon/violentmonkey/

Yes that works for me very good, thank you for your advice and support!

§
Posted: 15.12.2017.

Currently using ViolentMonkey. Installing the script is fine with VM but I can't access the data that I had GM searching for. Can you give me an idea where GM stored that information for this script?

§
Posted: 15.12.2017.
Edited: 15.12.2017.

Whoops, I forgot about the data!

You can import from a database in your profile folder. This is a bit fidgety, but the best I can do for now:

(1) In a Firefox tab, open https://www.jeffersonscher.com/gm/gmextract.html

(Previously suggested the general tool: http://inloop.github.io/sqlite-viewer/ but you have to manually clean up the output in order to import it (or disaster occurs))

(2) Open your Firefox profile folder. There's a button on the Troubleshooting Information page. https://support.mozilla.org/kb/profiles-where-firefox-stores-user-data

(3) Double-click into the gm_scripts folder, scroll down to find Text_Highlight_and_Seek.db

(4) Drag and drop Text_Highlight_and_Seek.db onto the drop area of the page you opened in #1.

(5) Scroll down to the kwstyles box and click Value (unescaped) (click to select) to select the keyword/highlight sets, then copy (e.g., Ctrl+c / Command+c, or right-click > Copy)

(6) Show the script's bar, click the "click here" area, and then click Import Sets. Pasting into that dialog should let you import that data.

§
Posted: 15.12.2017.

Thanks. Had some rather large files that I did not want to loose or go through the steps of trying to install an older version of GM to get them back.

Once again thanks for all the help Jefferson.

§
Posted: 15.12.2017.

I built an extractor, so I'm going to update the earlier steps. It was a little more complicated than I expected...

§
Posted: 16.12.2017.

Version 2.3.0 is my first stab at Greasemonkey 4 compatibility.

Post reply

Sign in to post a reply.