Skip to content

Instantly share code, notes, and snippets.

@X-Raym
Created March 3, 2021 13:15
Show Gist options
  • Select an option

  • Save X-Raym/98eca92ff4724b37ba407bb9f7b10a0f to your computer and use it in GitHub Desktop.

Select an option

Save X-Raym/98eca92ff4724b37ba407bb9f7b10a0f to your computer and use it in GitHub Desktop.
Grease monkey script to open X-Raym ReaScript API from local reascript.help.html
// ==UserScript==
// @name ReaScript Doc: Local to XR
// @version 1
// @grant none
// ==/UserScript==
// console.log(window.location)
window.addEventListener("load", function(event) {
if( window.location.toString().search("reascripthelp.html") >= 0 ) {
window.location.replace("https://www.extremraym.com/cloud/reascript-doc/" + window.location.hash );
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment