Greasy Fork

Text Highlight and Seek

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

< 脚本Text Highlight and Seek的反馈

评价:好评 - 脚本运行良好

§
发表于:2017-11-14

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

§
发表于:2017-11-15

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/

§
发表于:2017-11-16
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!

§
发表于:2017-12-15

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?

§
发表于:2017-12-15
编辑于:2017-12-15

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.

§
发表于:2017-12-15

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.

§
发表于:2017-12-15

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

§
发表于:2017-12-16

Version 2.3.0 is my first stab at Greasemonkey 4 compatibility.

发表回复

登录以发表回复。