- i hate cgnat
- i hate cgnat
- frp cool
This file contains 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
diff --git a/index.html.bak b/index.html | |
index 2befa8f..469037a 100644 | |
--- a/index.html.bak | |
+++ b/index.html | |
@@ -57,6 +57,14 @@ | |
</label> | |
<label>Min pressure to generate: <br><input type="range" id="min_pressure" min="0" max="1" step="0.01" | |
value="0" /></label> | |
+ <label>Horizontal area scaling: <br><input type="range" id="scale_horizontal" min="0.3" max="1" | |
+ step="0.01" value="1" /><output>100%</output></label> |
This file contains 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
""" | |
USE THIS AT YOUR OWN RISK. THIS IS UNDOCUMENTED, I WILL NOT BE RESPONSIBLE FOR WHAT HAPPENS WITH YOUR BOT(S). | |
You can import this into your main file since these are top-level statements or just copy-paste the whole thing (with credits). | |
What this does is patch the identify payload, the `$browser` field to be exact. | |
Since it's hardcoded in discord.py, we monkey-patch it. | |
You can change it to either `Discord Android` or `Discord iOS`—I'm not aware of any other options, | |
but those 2 seem to trigger the mobile indicator. |