Auto Refresh Plus Version 9.0.6
Pricing

Get Ahead with Auto Refresh Plus Download Now

Get Auto Refresh Plus, the ultimate browser extension for automatic page refreshing. Easily set custom intervals, monitor web pages, and stay updated with the latest content. Compatible with Chrome and Firefox, Auto Refresh Plus enhances your browsing experience with seamless and efficient page refreshing. Download now and start enjoying uninterrupted updates.
Add to Chrome
Privacy PolicyCookies PolicyTermsRefund Policy

Google Sign-In is used only for secure authentication and syncing your settings across devices.

©AutoRefreshPlus。All Rights Reserved 2014 - 2026。

A product of BetterLogic FZE

HomeSupportHow Do Custom Scripts Work in Auto Refresh Plus?

How Do Custom Scripts Work in Auto Refresh Plus?

Custom Scripts in Auto Refresh Plus (ARP) allow you to automate actions on webpages by running JavaScript during different stages of the refresh and monitoring process. This can help automate repetitive tasks, interact with page elements, or perform actions when specific events occur.


What Can Custom Scripts Do?

Custom Scripts can be used to automate actions such as:

  • Automatically clicking buttons
  • Filling form fields
  • Scrolling the page
  • Running custom workflows after refresh
  • Performing actions when monitored content changes
  • Interacting with specific webpage elements

This gives you greater control over how Auto Refresh Plus behaves on supported websites.


How to Add a Custom Script

Follow these steps:

  • Open General Settings
  • Select Custom Scripts
  • Click Add New Script
  • Enter a Script Name
  • Enter the Target URL
  • Choose Whitelist or Blacklist
  • Enter your JavaScript code
  • Select the desired Execution Timing
  • Select the desired Injection Point
  • Click Add Script

Once configured, Auto Refresh Plus will automatically execute the script according to the selected settings.


URL Patterns Supported

Use URL patterns to control where a script is allowed to run.

Match both HTTP and HTTPS versions

example.com

Match a specific page

example.com/path/to/page

Match all pages under a path

example.com/path/*

Match a specific subdomain

sub.example.com

Match a specific subdomain and path

sub.example.com/path

Match all pages on a domain and its subdomains

*.example.com/*

Whitelist vs Blacklist

When creating a script, you can choose how the URL rule is applied.

Whitelist

The script will run only on URLs that match the specified pattern.

Blacklist

The script will run everywhere except URLs that match the specified pattern.

This allows you to control exactly where your automation is executed.


Execution Timing

Custom Scripts can be configured to run at different stages of the refresh process:

  • When URL Opens
  • On Each Page Refresh
  • When Target Text Found
  • When Target Text Lost
  • When Any Change Occuts

Choose the execution timing that best matches the action you want the script to perform.


Injection Point

You can control when the script is injected into the webpage:

  • Before Page Load
  • After Page Load

The injection point determines when your script becomes available within the page lifecycle.


No Coding? Use AI Script Generator

If you do not want to write JavaScript yourself, Auto Refresh Plus includes an AI Script Generator.

Describe the action you want to perform, and the AI can generate a script for you.

This can be useful for tasks such as:

  • Clicking buttons automatically
  • Scrolling pages
  • Basic page interactions
  • Simple automation workflows

Additional Option: Script Marketplace

You can also browse ready-made scripts from the Script Marketplace.

These scripts can be used without creating your own code and may help with common automation tasks.


Managing Scripts

Auto Refresh Plus provides tools to manage your scripts efficiently.

You can:

  • Search scripts by name or URL
  • Import scripts
  • Export scripts
  • Edit existing scripts
  • Remove scripts you no longer need

This makes it easier to maintain automation across multiple websites and devices.


Important Notes

  • Custom Scripts use JavaScript
  • Scripts only run on URLs that match the defined pattern
  • Scripts can be configured as a Whitelist or Blacklist rule
  • Execution Timing determines when a script runs
  • Injection Point determines when the script is injected into the page lifecycle
  • Scripts can be imported and exported for backup or sharing
  • Different scripts can be configured for different websites
  • Incorrect scripts may not behave as expected, so test them before using them in production workflows

Summary

Custom Scripts allow Auto Refresh Plus to automate actions on webpages using JavaScript. Scripts can be restricted to specific websites, configured with custom execution timing, and injected at different stages of page loading. Users can create their own scripts, use the AI Script Generator, or install ready-made scripts from the Script Marketplace to simplify common automation tasks.

Need additional help?

CONTACT US