“click the Add to cart button when a match is found”
matchFinds the add-to-cart control, checks it is enabled, and clicks it — with a guard so it never fires twice on one page.
AI tools · PRO
Describe the behaviour you want and the generator drafts the script, picks the trigger, and scopes it to a URL pattern — then hands it to you to review before anything runs.
Notice that the generator picks the trigger too — a click-on-match script is useless on the load trigger, and a banner-dismisser is useless on match.
“click the Add to cart button when a match is found”
matchFinds the add-to-cart control, checks it is enabled, and clicks it — with a guard so it never fires twice on one page.
“hide the cookie banner on this site”
loadLocates the consent container and removes it, plus the scroll lock these banners usually add to the page body.
“dismiss the are you still there popup”
loadWatches for the idle dialog and presses its continue button so a long monitoring run is not interrupted.
A generated script is a draft. It arrives in the editor, not in your browser, and several things have to happen before a single line of it executes:
Full detail on triggers, URL patterns and the Chrome toggle is in the scripts documentation.
AI scripts FAQ
What it writes, how much to trust it, and what leaves your browser.
Still have questions?
Tell us what you're monitoring — we answer every message within one business day.
Contact supportYou describe what a script should do — for example “click the Add to cart button when a match is found” — and it fills in the whole script: the code, a name, a description, the trigger it should run on, and the URL pattern it should be limited to. You review the result and decide whether to save it.
Not to generate a script, but you should be able to read one before you run it. Scripts have full access to the pages they run on, and generated code is not exempt from that. If you cannot follow roughly what a script does, do not save it — that advice applies to AI-written scripts exactly as it does to community ones.
In the web dashboard, under Custom Scripts. Open the script editor and press ✨ Generate.
The script generator allows roughly 10 uses per day, set server-side. It is a PRO feature, included in the $2.99 per year plan.
Your written prompt, and only if you choose to include it, a short excerpt of the page's visible text. Nothing is sent until you press Generate, and your saved scripts are stored against your anonymous install token rather than a named account.
Not always. Generated code is a well-informed first draft, not a guarantee — a selector may be wrong for your specific page, or the site's markup may change later. Test it on the page you care about before relying on it, and remember that a script silently failing is a real possibility worth checking for.
Get Started
Let RefreshPilot refresh pages, watch for changes, and alert you when something important happens.
Free plan forever · No card needed · Set up in a minute