Skip to content

Instantly share code, notes, and snippets.

@rf5860
Last active May 19, 2018 16:42
Show Gist options
  • Save rf5860/4b6b3c42f92f6f9043d4f6f9d89c5d9b to your computer and use it in GitHub Desktop.
Save rf5860/4b6b3c42f92f6f9043d4f6f9d89c5d9b to your computer and use it in GitHub Desktop.
[VSCode Insiders - Protocol Update] Updates vscode: to vscode-insiders: protocols #UserScript
// ==UserScript==
// @name VSCode Insiders - Protocol Update
// @version 0.1
// @description Updates vscode: to vscode-insiders: protocols
// @author rjf89
// @match https://marketplace.visualstudio.com/items*
// @require https://code.jquery.com/jquery-3.2.1.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// ==/UserScript==
waitForKeyElements ('.ux-button.install', (installButton) => installButton[0].protocol = 'vscode-insiders:');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment