Last active
June 23, 2026 13:04
-
-
Save GalvinGao/9c2db9a9b617566da632e15efe691c7c to your computer and use it in GitHub Desktop.
react-grab-loader.user.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name React Grab Loader | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Injects react-grab global build into every page | |
| // @match http://localhost:*/* | |
| // @match http://*.localhost:*/* | |
| // @match https://*.localhost:*/* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== | |
| (function () { | |
| 'use strict'; | |
| const script = document.createElement('script'); | |
| script.src = '//unpkg.com/react-grab/dist/index.global.js'; | |
| script.crossOrigin = 'anonymous'; | |
| document.head.appendChild(script); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment