Last active
May 19, 2018 16:42
-
-
Save rf5860/4b6b3c42f92f6f9043d4f6f9d89c5d9b to your computer and use it in GitHub Desktop.
[VSCode Insiders - Protocol Update] Updates vscode: to vscode-insiders: protocols #UserScript
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 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