Text Hilite

Highlights matched text on page

المؤلف
muroph
التثبيت اليومي
0
إجمالي التثبيت
200
التقييمات
2 0 0
الإصدار
1
تم إنشاؤه
25-09-2014
تم تحديثه
03-10-2014
الترخيص
لا يوجد
ينطبق على
جميع المواقع

Search for text on specific pages and applies a style to the matches.
Multiple rules can be used.

I've being using this script for years to highlight text on certain pages.
IIRC it's based on this script, with small modifications to allow multiple rules.

---CONFIGURATION

Rules are added to the script itself, using the following block:

AD.push(/<regex1>/i); //URL
MA.push(/(<regex2>)/i); //text
ST.push('<style>'); //style

<regex1> matches the URL of the page(s) you want to use this rule
<regex2> matches the desired text. round brackets are mandatory
<style> inline style to use on the matched text

There are a couple sample rules already on the script.


--WARNING!--

I've seen the script hang a few times on certain pages/rules. It's rare, but be careful.
Also, don't expect any support or updates for this script (I'm pretty much useless with javascript).