Skip to content

Instantly share code, notes, and snippets.

@GalvinGao
Last active June 23, 2026 13:04
Show Gist options
  • Select an option

  • Save GalvinGao/9c2db9a9b617566da632e15efe691c7c to your computer and use it in GitHub Desktop.

Select an option

Save GalvinGao/9c2db9a9b617566da632e15efe691c7c to your computer and use it in GitHub Desktop.
react-grab-loader.user.js
// ==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