Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Easy Auto Refresh 3.5 for Chrome: Display Notifications

A long requested feature for our popular Chrome Auto Refresh extension, Easy Auto Refresh, has been to display a notification when a certain keyword appears in the web page. Well, now you've got it!

This brand new feature in Easy Auto Refresh 3.5 lets you enter a keyword and, after each refresh, Easy Auto Refresh will check the web page to see if the keyword exists. You can use a simple keyword, phrase, or even a regular expression. If the text is found, a notification displays and a sound effect is played. Here's what it looks like:

To use this new feature:

  1. Open Chrome and visit the desired url that you want to refresh.
  2. Open Easy Auto Refresh, expand Advanced Options, and checkmark "Show notification".
  3. Enter a keyword or regular expression to find in the page after each refresh.
  4. Click Start.
Examples of keywords:
on sale
find this keyword after delay [3]

Each time Easy Auto Refresh reloads the page, it will check the text and HTML of the page (document.body.innerHTML) for the keyword that you entered. The keyword is case-insensitive. If the keyword is found, a Chrome desktop notification will display.

Checking for a Keyword in the Visible Text of the Page

By default, Easy Auto Refresh searches for the keyword within the HTML of the page (document.body.innerHTML). This allows you to search through both visible text and HTML tags on the page. For example, you might want to show a notification when a certain DIV or IMG tag appears on the page. If you want to limit the search to just the visible text of the page (document.body.innerText), include the following at the end of your keyword: [TEXT]

For example:
hello [TEXT]

Checking for a Keyword with a Delay After Page Load

In the above keyword examples, the first two are simple keywords to find in the page. The third and fourth are regular expressions. The last one uses a timed-delay check.

In some cases, a page may take longer to load all of its content. For example, some sites use ajax, angularjs, ember, or other web page frameworks that dynamically load page content. For these sites, if you check for a keyword in the page immediately after a page-load, it will fail to find the keyword, since the content may not have fully loaded yet. To fix this, you can tell Easy Auto Refresh to wait a couple of seconds after page-load, before checking for the keyword.

To specify a delay, add the text [3] at the end of your keyword, where 3 represents the number of seconds to delay. For example:

tickets [5]
* This will wait 5 seconds after page-load and check for the keyword "tickets".

now available [3]
* This will wait 3 seconds after page-load and check for the keyword "now available".

There is a lot of flexibility with what you can do with this feature. In case you haven't installed Easy Auto Refresh yet, download it from the Chrome store today!

This post first appeared on Ksoft Newsletter - News, Tips, Downloads To Make Y, please read the originial post: here

Share the post

Easy Auto Refresh 3.5 for Chrome: Display Notifications


Subscribe to Ksoft Newsletter - News, Tips, Downloads To Make Y

Get updates delivered right to your inbox!

Thank you for your subscription