Last active
September 14, 2025 02:13
-
-
Save RanolP/d72ac7512a16fdca66b9bd263fc434b3 to your computer and use it in GitHub Desktop.
Bypass Screen Share Restriction in Guild on Discord.
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
| (() => { | |
| const data = [ | |
| [], | |
| { | |
| run: (_ignored1, _ignored2, { c: result }) => { | |
| for (const field of Object.getOwnPropertyNames(result)) { | |
| const exported = result[field].exports; | |
| if (exported && exported.isDeveloper === false) { | |
| Object.defineProperty(exported, "isDeveloper", { | |
| value: true, | |
| configurable: true | |
| }); | |
| } | |
| } | |
| } | |
| }, | |
| [["run"]] | |
| ]; | |
| if(typeof webpackJsonp === "object") { | |
| webpackJsonp.push(data); | |
| } else { | |
| webpackJsonp(...data); | |
| } | |
| })(); |
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
| // Remove const to make code shorter | |
| // Rename variable more short | |
| // Remove semicolons if it's not ambigious | |
| a = [ | |
| [], | |
| { | |
| b: (d, e, { c }) => { | |
| // Make reused long value as variable | |
| h = "isDeveloper"; | |
| for (f of Object.getOwnPropertyNames(c)) { | |
| g = c[f].exports; | |
| if (g && g[h] === false) { | |
| Object.defineProperty(g, h, { value: true, configurable: true }) | |
| } | |
| } | |
| } | |
| }, | |
| [["b"]] | |
| ]; | |
| // Change if-else to elvis operator | |
| typeof webpackJsonp == "object" ? webpackJsonp.push(a) : webpackJsonp(...a) |
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
| a=[[],{b:(d,e,{c})=>{h="isDeveloper";for(f of Object.getOwnPropertyNames(c)){g=c[f].exports;if(g&&g[h]===false){Object.defineProperty(g,h,{value:true,configurable:true})}}}},[["b"]]];typeof webpackJsonp=="object"?webpackJsonp.push(a):webpackJsonp(...a) |
Author
Author
Note that Discord Screen Sharing is not available on Web Client (both Chrome and Firefox). So if you're on the web platform, you only can watch others' screen (or not work correctly). But I found a Extension for Chrome! You can share your screen on Chrome!
Author
Some people say it does not work anymore. if you're one of them it would be useful for you.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A Guide to Apply This Bypass
Go to the
Appearancetab and turn on theDeveloper ModeinAdvancedsection.ConsoleinDeveloper Tools. You can open Developer Tools via key combo. I'm sure that isCtrl + Shift + IorF12.bypass-tricked.min.jsand paste it to theConsole.