Loading Var from local or xml file?

Subscribe to Loading Var from local or xml file? 2 posts, 2 voices

 
^tyrant^ User

I have a sript that highlights certain words it finds on webpages, my problem is my list is getting very big. Is there a way i could have it load the list from either a local txt file or a xml file from a website? Loading it from a site would be better for me since there are other people that use the script and we could just have a master list.

below is how i am setting the var, if that helps

var RE = /(word 1|word2|word3|etc)/i;

 
Mikado Scriptwright

Is it necessary to post in two forums?

Learn about GM_xmlhttpRequest.