- i hate cgnat
- i hate cgnat
- frp cool
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
| """ | |
| MIT License | |
| Copyright (c) 2024 norinorin | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in all |
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
| 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 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
| """ | |
| 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. |