Skip to content

feat: add bookmarklet for using React Grab on any site#216

Open
patelnav wants to merge 1 commit intoaidenybai:mainfrom
patelnav:feat/bookmarklet
Open

feat: add bookmarklet for using React Grab on any site#216
patelnav wants to merge 1 commit intoaidenybai:mainfrom
patelnav:feat/bookmarklet

Conversation

@patelnav
Copy link

@patelnav patelnav commented Mar 5, 2026

Summary

  • Adds a bookmarklet.html page that lets users drag a bookmarklet to their bookmarks bar
  • Clicking it injects react-grab/dist/index.global.js into any page — no install or build step needed
  • Styled to match the existing site aesthetic (Geist font, dark theme, magenta accents)

Use case

Useful for quickly trying React Grab on any React site without modifying the project. Also handy for inspecting third-party React apps you don't control.

Test plan

  • Open bookmarklet.html in a browser
  • Drag the button to bookmarks bar
  • Visit a React site, click the bookmarklet, hover + ⌘C to verify it works

Note

Medium Risk
Injects a third-party script from unpkg.com into arbitrary pages via javascript: bookmarklet, which has security/trust and CSP compatibility implications despite being isolated to an optional static page.

Overview
Adds a standalone bookmarklet.html page that users can open to drag a React Grab bookmarklet into their bookmarks bar.

The bookmarklet injects https://unpkg.com/react-grab/dist/index.global.js into the current page, and the page includes brief usage instructions plus inline styling for a dark, branded look.

Written by Cursor Bugbot for commit d58655e. This will update automatically on new commits. Configure here.


Summary by cubic

Adds a bookmarklet page to inject React Grab into any site, so you can try it without installing or changing the project. Helps quickly inspect third‑party React apps.

  • New Features
    • Added bookmarklet.html with a simple drag-to-bookmarks UI (Geist, dark theme, magenta accents).
    • Bookmarklet loads react-grab/dist/index.global.js from unpkg and runs in the current page.
    • Usage: drag to bookmarks bar, click on a React site, then hover + ⌘C to copy component context.

Written for commit d58655e. Summary will update on new commits.

Adds a drag-and-drop bookmarklet page that injects React Grab into any
website without requiring a build step or install.
@pullfrog
Copy link
Contributor

pullfrog bot commented Mar 5, 2026

This run croaked 😵

The workflow encountered an error before any progress could be reported. Please check the link below for details.

Pullfrog  | Rerun failed job ➔View workflow run | Triggered by Pullfrogpullfrog.com𝕏

@vercel
Copy link
Contributor

vercel bot commented Mar 5, 2026

@patelnav is attempting to deploy a commit to the Million Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant