Official scripts
Explore our curated collection of scripts
Download Cloudflare invoice/receipt
Download a single Cloudflare billing-history entry's PDF by accountId + invoiceId (from cloudflare.com/list_invoices). Returns the PDF bytes as base64 plus a filename.
Cloudflare: invite member
Invite a new member into one Cloudflare account by email, granting an account-wide permission policy for a named role (e.g. "Administrator", "Billing") matched against the account's own role picker. Returns the invited email, role, accountId and pending status.
Cloudflare: remove member
Remove a member from one Cloudflare account by email, via the Members list's "Remove member" action. Returns the removed email, accountId and status.
Cloudflare: list members and roles
List members and their roles across every Cloudflare account visible to the signed-in user (matches the existing list_invoices convention: no account scoping arg). Reads the dashboard's own accounts and members JSON APIs rather than scraping the DOM. Returns per account id/name and its members (email, status, roles).
Cloudflare login (Google SSO)
Log into the Cloudflare dashboard via the Google button. Dismisses the cookie banner, handles a remembered-account quick sign-in if one exists, drives the chooser, and lands on the dashboard. Best run on your own paired browser rather than a freshly launched one, since it relies on an existing Google session. Known limitation: if Cloudflare forces a 2FA or passkey step-up on the Google redirect, the login can't complete unattended — verify that step manually once in the same browser, then re-run. Optional `email` arg picks which Google account to use.
Cloudflare: list invoices
List Cloudflare invoices across every account visible to the signed-in user. Returns per account name, accountId, and invoices with date, type, number, amount, status. Accounts with no invoices come back with an empty invoices array rather than an error.
Cloudflare: change member role
Change one member's role within one Cloudflare account: looks up the member by email via the account's members API, opens their single account-wide permission policy, toggles off their current role(s) and toggles on the named new role (matched against the account's own role picker), then saves. Throws if the member has anything other than exactly one permission policy (ambiguous case, not handled). Returns previous and new roles.
Like a TikTok video
Like a TikTok video (as the logged-in account) by URL or id. Safe to repeat: it does nothing if you already liked it.
Like YouTube video
Like a YouTube video — has no effect if it's already liked.
Join subreddit
Join (subscribe to) a subreddit by name. If you're already a member, nothing changes and changed is returned as false. Runs only via the browser extension, not the hosted cloud browser.
Ask Le Chat
Open a new Le Chat conversation, send one question, wait for the answer, and return the answer text plus any web-search source domains cited.
List DigitalOcean team members and roles
List the current DigitalOcean team's members and pending invites with their role, status (Joined/Pending) and sign-in method. No scoping arg — reads the signed-in team, matching list_invoices' convention for this host.
Submit Reddit post
Create a text post (thread) in a subreddit. Returns the new post's ID, subreddit and URL. Posts a real thread under the logged-in account; text posts only (no link/image); some subreddits require a flair and will block the post. Runs only via the browser extension, not the hosted cloud browser.
Vote on Reddit post or comment
Up, down, or clear your vote on a Reddit post or comment by its URL/permalink. Safe to repeat: it only changes the vote if it isn't already in the requested state. You cannot downvote or clear the vote on your own post, since Reddit forces the author's upvote and the change reverts on reload. Runs only via the browser extension, not the hosted cloud browser.
Get Trustpilot company profile
Get a Trustpilot company profile: TrustScore, stars, review count, full 1-5 star rating distribution, categories, breadcrumb, contact info, claim status and reply behavior. Input is the domain key (e.g. "amazon.com"); the resolved identifyingName is returned (may differ via redirect).
Save Reddit post
Save a Reddit post to your saved list by its URL. If it's already saved, nothing changes and changed is returned as false. Saving is private (visible only in your own saved list). Runs only via the browser extension, not the hosted cloud browser.
Follow Reddit user
Follow a Reddit user by username. If you already follow them, nothing changes and changed is returned as false. Runs only via the browser extension, not the hosted cloud browser.
Leave subreddit
Leave (unsubscribe from) a subreddit by name. If you're not a member, nothing changes and changed is returned as false. Runs only via the browser extension, not the hosted cloud browser.
Get YouTube channel stats
Get a YouTube channel's stats and profile from a @handle, channel id (UC...) or channel URL. Returns channel_id, handle, name, description, subscribers, video_count, view_count, joined, country, channel_url, avatar, rss_url, is_family_safe, keywords and links. Subscribers is the abbreviated public figure (e.g. 4.51m becomes 4510000, approximate), while video_count and view_count are exact; joined is a display string (e.g. "1 Feb 2015") and each link's url is the display host without scheme.
Edit Reddit post
Edit the body of your own Reddit text post by its URL, replacing it entirely. Returns edited and postId. Text posts only (the title can't be edited on Reddit); only works on your own posts. Runs only via the browser extension, not the hosted cloud browser.
Unsave Reddit post
Remove a Reddit post from your saved list by its URL. If it wasn't saved, nothing changes and changed is returned as false. Runs only via the browser extension, not the hosted cloud browser.
Get Le Chat conversation messages
Full message transcript of one Le Chat conversation by id, oldest to newest.
Get Dribbble shot
Fetch a Dribbble shot's details from its url: title, description, owner, images and comment count.
Invite DigitalOcean team member
Invite (create) a member on the current DigitalOcean team by email and role. Role is free-text matched against the team's basic roles (Owner, Member, Modifier, Biller, Billing Viewer, Resource Viewer) or a custom role name if the team has any. Owner cannot be assigned directly on invite, because DigitalOcean only allows promoting to Owner after the invitee joins as a non-Owner. Returns the invited email and requested role; the member starts as Pending until they accept.
Get Trustpilot company reviews
Get one page (20) of a company's Trustpilot reviews: author, rating, title, text, dates, likes, verification and the company's reply. Supports the site's own filters as args (page, sort, stars, language, keyword search, verified, date range). Defaults to returning reviews in every language so none are silently filtered out by locale.
