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
| // Constants | |
| const TOKEN = `<YourTokenHere>`; | |
| const BASE_URL = `https://api.telegram.org/bot${TOKEN}`; | |
| const CHAT_ID = '<ChatId>'; | |
| const DEPLOYED_URL = '<YourScriptDeployedURL>'; | |
| const SUM_CELL = 'G2'; | |
| const METHODS = { | |
| SEND_MESSAGE: 'sendMessage', | |
| SET_WEBHOOK: 'setWebhook', |
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
This guide is for Windows.
- Connect phone via USB to PC, wait a while for drivers to install.
- Install "Minimal ADB Fastboot" (from XDA-Developers).
- Enable USB DEBUG under "Config / Developer Options" on phone.
- Open a Command Prompt under the folder "C:\Program Files (x86)\Minimal ADB and Fastboot"
- Open phone adb shell:
adb shell - Use the following commands: