1. Gather Employee IDs from SharePoint

Scrape the SharePoint people directory to find employees with specific job titles and extract their payroll numbers.

Step 1: Drag this bookmarklet to your bookmarks bar
🔍 Scrape SharePoint Directory

Right-click → "Bookmark This Link" if drag doesn't work

Step 2: Use it on the SharePoint people directory
  1. Open your SharePoint people search/directory page (where you see employee cards)
  2. Click the 🔍 Scrape SharePoint Directory bookmarklet
  3. It will:
    • Scrape all visible employee names, job titles, and aliases
    • Filter to: Customer Service Attendant - GM, Gaming Machines Area Manager, Casino Manager - Gaming Machines
    • Auto-click Next to go through all pages
    • Extract payroll numbers from aliases (e.g., re434829434829)
    • Send results to this server

A progress bar appears at the top. Works on the same-origin SharePoint page — no CORS issues.

2. Sync Roster Data

CORS blocks direct fetches from this page to mis-web-02. The solution: a batch bookmarklet that runs inside the mis-web-02 origin and loads all rosters via same-origin iframes.

Step 1: Paste all payroll numbers (one per line)

Step 2: Drag this to your bookmarks bar
📋 Batch Collect All Roster

If drag doesn't work: right-click → "Bookmark This Link", or copy the code below.

Step 3: Use it on your work computer
  1. Open any roster page on mis-web-02, e.g.:
    http://mis-web-02/NewESSRosterWS/rosterhandler.ashx?payrollNumber=429548
  2. Click the 📋 Batch Collect bookmark
  3. A progress bar appears — it loads each roster via hidden iframes
  4. When done, all data is sent to roster.sili.dev

This works because the bookmarklet runs on mis-web-02's origin. Iframes to other roster URLs are same-origin, so we can read them. No CORS issues.


Fallback: Single-Employee Bookmarklet

For one-off updates, drag this to your bookmarks bar:

📋 Send Roster

Open any roster page → click bookmark → done.

Manual: Paste HTML

Sync History
TimeEmployeesShifts
2026-07-14 18:26:11882564
2026-07-14 16:54:1500
2026-07-14 16:51:4800
2026-07-14 16:48:5110