Greasy Fork is available in English.

Show Code To Visual Studio

Show Github Project to Visual Studio Code!

  1. // ==UserScript==
  2. // @name Show Code To Visual Studio
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Show Github Project to Visual Studio Code!
  6. // @author Lan
  7. // @match *://*.github.com/*
  8. // @icon https://github.com/fluidicon.png
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. document.getElementsByClassName('d-none d-md-flex ml-2')[0].innerHTML += '<a class="btn ml-2 d-none btn-primary d-md-block" target="blank" href="https://vscode.dev/github'+window.location.pathname+'"> Show Code </a>'
  16.  
  17. })();