Open with Github Desktop on Linux

Enables the option to Open github repo with Github Desktop on Linux

2020-12-18 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

  1. // ==UserScript==
  2. // @name Open with Github Desktop on Linux
  3. // @description Enables the option to Open github repo with Github Desktop on Linux
  4. // @icon https://github.githubassets.com/pinned-octocat.svg
  5. // @author Divyanshu
  6. // @match https://www.github.com/
  7. // @include https://www.github.com/*
  8. // @match https://github.com/
  9. // @include https://github.com/*
  10. // @grant none
  11. // @run-at document-start
  12. // @version 0.0.1.20201218143730
  13. // @namespace https://greatest.deepsurf.us/users/718304
  14. // ==/UserScript==
  15.  
  16. Object.defineProperty(navigator, 'userAgent', {
  17. value: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36'
  18. });