text: Results 1 to 4 of 4
  Thread: Searching Script
  - Join Date
  - Oct 2011
  - 2
  - Thanks
  - 0
  - Thanked 0 Times in 0 Posts
  Searching Script
  Hey
  This is the javaSCRIPT forum. You can't do what you want in JavaScript (you can't load data from another site with JS), so I suspect you really do mean you want to use JAVA. About the only thing the two languages share are the first four letters of their names.Be yourself. No one else is as qualified.
  - Join Date
  - Sep 2011
  - 102
  - Thanks
  - 0
  - Thanked 14 Times in 14 Posts
  are you trying to implement pattern search?
  - Join Date
  - Dec 2010
  - 2,398
  - Thanks
  - 12
  - Thanked 570 Times in 563 Posts
  I think you might want to install the add-on "Greasemonkey" for Firefox and start learning to use userscripts. You can do those kind of things with Greasemonkey easily.
  Example for a userscript
  Code:
  // ==UserScript== // @name Test for CF // @namespace // @description Test for CF // @include* // ==/UserScript== // The header tells Greasemonkey on which pages it should run // The code below will run as soon as the page has been loaded, no need for onload here // customize wordlist here var wordlist = ["word1", "word2"]; var found = true; var source = document.body.innerText; for(i=0; i<wordlist.length; i++) { if(source.indexOf(wordlist[i]) == -1) { // one of the words was not found found = false; break; } } if(!found) { // if at least one of the words was not found, go to next page // first extract the number var theHref = window.location.href; var theNextNumber = Number(theHref.substring(theHref.length-6))+1; theNextNumber = '000000' + theNextNumber; window.location.href = theHref.substring(0, theHref.length-6)+theNextNumber.substring(theNextNumber.length-6); }