mirror of
				https://github.com/EndPwnArchive/endpwn3.git
				synced 2024-08-15 00:23:30 +00:00 
			
		
		
		
	define window.BetterDiscord with a dummy value
This commit is contained in:
		
							parent
							
								
									d11c87ff88
								
							
						
					
					
						commit
						7e064d5e9e
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -33,6 +33,8 @@ function evaluate(str, exportsR) {
 | 
			
		|||
    if (location.hostname.indexOf('discordapp') == -1) return;
 | 
			
		||||
    __crxprint('extension loaded successfully, loading CRISPR and EPAPI...');
 | 
			
		||||
 | 
			
		||||
    window.BetterDiscord = 'this is a dummy value to trip hasSuspiciousCode()';
 | 
			
		||||
 | 
			
		||||
    // use the discord native api to require electron and get electron.remote
 | 
			
		||||
    var electron = DiscordNative.nativeModules.requireModule('discord_/../electron').remote;
 | 
			
		||||
    var fs = electron.require('original-fs');
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue