Skip to content

Instantly share code, notes, and snippets.

@isti115
Created April 24, 2021 20:42
Show Gist options
  • Select an option

  • Save isti115/3273626a38cf2206a85da8de522d36a5 to your computer and use it in GitHub Desktop.

Select an option

Save isti115/3273626a38cf2206a85da8de522d36a5 to your computer and use it in GitHub Desktop.

Revisions

  1. isti115 created this gist Apr 24, 2021.
    14 changes: 14 additions & 0 deletions discord-auth-fix.user.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    // ==UserScript==
    // @name Discord Auth Fix
    // @namespace http://istvan.donko.hu/
    // @version 0.1
    // @description Fix Discord auth issue with window sizing
    // @author István Donkó (Isti115)
    // @match https://discord.com/*
    // @run-at document-start
    // ==/UserScript==

    ;(function() {
    'use strict';
    unsafeWindow.outerWidth = unsafeWindow.innerWidth
    })();