Greasy Fork is available in English.

Text Highlight and Seek

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

< 腳本Text Highlight and Seek的回應

提問/評論

§
發表於:2017-11-28

hide after losing focus

Can you add the function hide after losing focus on this script instead of click on cancel or x button ?

§
發表於:2017-11-28

Good idea. I assume you mean when you add or enable a keyword, and not when you're using the seek buttons?

§
發表於:2017-11-29

thank you for your reply, yes I mean what you write,
I want to ask one more question are there a way to hold the seek bar and seek function when i change page ? , I want to search one word on multiple tabs but when I switch tab the top bar disapear, I must click seek again.

§
發表於:2017-11-29
are there a way to hold the seek bar and seek function when i change page ? , I want to search one word on multiple tabs but when I switch tab the top bar disapear, I must click seek again.

Hmm, maybe. User scripts can use storage that works across sites. The script could detect when the tab is activated (pageshow event) and check whether the bar is supposed to be open or closed. But probably there should be an extra checkbox or button to make the bar "persist" across tabs because you might not want this all the time.

發表回覆

登入以回復