A powerful, browser-based bookmarklet for running common Slate database refresh operations with a clean UI, logging, and persistent history. It keeps admins from having to navigate to multiple pages within the admin console.
- One-click refresh UI
- Select All / None toggle
- Per-refresh status tracking
- Live log output (copyable)
- Copy log to clipboard
- Persistent run history (last 10 runs)
- Automatic Run # counter
- View previous runs
- Clear history
- Preferences saved across sessions
- Runs only on valid Slate pages
| Action | Endpoint |
|---|---|
| Refresh Fields | /manage/database/admin?cmd=destinationRefresh |
| Refresh Prompts | /manage/database/admin?cmd=promptRefresh |
| Refresh STL | /manage/database/library?cmd=refresh |
| Refresh CJ Library | /manage/database/library?cmd=refresh_query |
This bookmarklet:
- Verifies you're authenticated on a Slate page (
window.FW) - Injects a floating UI panel into the page
- Lets you select refresh operations
- Executes them sequentially for safer, predictable behavior
- Logs results and stores them in
localStorage
##Installation
- Create a new bookmark in your browser
- Paste the minified bookmarklet code into the URL field
- Name it something like:
Slate Refresh Tool
- Click it while on a Slate admin page
- Open a Slate page
- Click the bookmarklet
- Select desired refresh options
- Click Run
- Uncheck Close on success to keep the panel open
- Use Copy Log to export results
- Use Run History to review past executions
All data is stored per-domain using localStorage.
Each run stores:
- Run number
- Timestamp
- Selected actions
- Result per action (
done,skipped, orfailed) - Full log output
- Selected refresh options
- Close-on-success setting
If you want a clean slate:
localStorage.removeItem("slateRefreshBookmarklet.preferences.v1");localStorage.removeItem("slateRefreshBookmarklet.history.v1");- Must be run on an authenticated Slate page
- Requires:
window.FWjQuery ($.get)
- User must have permission to access:
/manage/database/*
Bookmarklets run in the context of the current page and have access to:
- Session cookies
- DOM
- Internal APIs
Use only trusted code.
Bookmarklet
↓
Popup UI (DOM injection)
↓
User selections
↓
Sequential API calls (jQuery $.get)
↓
Status updates + logging
↓
Persist to localStorage
- Sequential execution avoids race conditions in Slate
- localStorage provides persistence across sessions
- No external dependencies keeps the tool simple and portable
- Fully client-side means no backend is required
- Auto-detect page context and pre-select refreshes
- Export history to
.json - Toast notifications instead of alerts
- Dark mode
This started as a quick helper tool and turned into a mini Slate admin console. I learned a lot, and this can definitely be improved.
If you’re currently clicking through the database manually to refresh, this replaces that with a single bookmark click.
Internal use / personal tooling.


