How can I monitor a specific field on a website and be notified when it reaches a certain value?

elad2109 March 7, 2011
Whatsapp Pinterest

There is a webpage with registered user counter. I want to get an alert when that counter gets to 1000.

Does someone know of a website/browser extension that enables SMS or eMail notification when a specific field in a public website is equal to a certain value? Maybe someone knows how to write a small script that does that?

Thanks in advance!

  1. fruitgeek
    March 16, 2011 at 9:44 pm

    If you coded it yourself, you can use PHP's mail() function. If not, you probably cannot do this unless the company that made the counter has an API for this.

    • fruitgeek
      March 16, 2011 at 9:51 pm

      oops. I didn't read what you said. You'll need to learn some PHP (or other language your site is written in) to do this. In a MySQL table, the records are given unique id numbers. You could implement some script in your sign up to set a variable to the id of the record just created. then make a script something like this:

      if ($variablename==1000) {
      mail ('to','subject','message')

      If you do not have email set up on the server, this may not work. There may be a plugin to do this if you have CMS.

  2. Tina
    March 14, 2011 at 12:19 am


    did you pursue the task further and did you follow any of Mike's suggestions? Let us know if you found a solution that worked for you. Thank you!

  3. Mike
    March 8, 2011 at 7:10 pm

    There are various ways to do web scraping but pretty much all of them require some scripting on your end to get the data out of the target websites code.

    Some things you could try:
    Yahoo! Pipes

    More options and information on Wikipedia

  4. Josh Fox
    March 8, 2011 at 6:02 pm

    What kind of counter is being used? Since there are so many different technologies out there, the more specific you are, the easier it would be to answer.