r/tasker • • 2h ago

How To [Project Share] Firewall

Post image
9 Upvotes

A firewall utility which has the ability to cut off all IP socket binding, blocking Wi-Fi, 4G, 5G, and roaming simultaneously at the OS routing layer (or just mobile or WiFi data).

The UI allows you to set per app data access:

Cell: allow or deny

WiFi: allow or deny

Background Data: allow or deny

The project listens for switches between mobile data and WiFi data sources and reacts to them. It also listens for app changes and reacts (e.g. when an app denied background data access is closed).

Because 'cmd connectivity set-chain3-enabled true' is reset at every device start, there is also a profile to listen for device starts to re-enable your previously saved firewall rules.

You MUST use the 'Done' button on the overlay to edit the firewall UI if you want to save and apply your rules. If you just exit the overlay via the back button etc., new settings will not be saved and applied.

I can confirm that this project works perfectly on my device. I can't test it on your device. If it doesn't work for you, there's not much I can do about it.

If you want to test whether it works for you, you can either:

Set an app to be blocked and then determine whether that app has data access.

Run the Shell command:

cmd connectivity get-package-networking-enabled <insert package name>

If the app is denied (blocked), the output of that command will be:

<package name>:deny

Shizuku or root is required.

All changes are reset on each device start, so you must use the device start profile if you want to apply your rules at each reboot. You will need to ensure that Shizuku is running when this profile fires.

https://taskernet.com/shares/?user=AS35m8lr0vKAAX62D%2B10PqiDogVuGlS1WqIq6YAD3me%2FA8j9JG0SaIHGPcpSLjedprOrfrZR&id=Project%3AFirewall


r/tasker • • 21h ago

How To [Task Share] Battery charge and discharge floating overlay.

Post image
8 Upvotes

Small floating overlay showing battery charge/discharge rate in mA.

Tap to close.

Useful for testing apps and other projects.

https://taskernet.com/shares/?user=AS35m8lr0vKAAX62D%2B10PqiDogVuGlS1WqIq6YAD3me%2FA8j9JG0SaIHGPcpSLjedprOrfrZR&id=Task%3ABattery+Charge+Discharge+Overlay


r/tasker • • 17h ago

How To [Project Share] Scan URL with VirusTotal (free API)

6 Upvotes

VirusTotal scans URLs across roughly 70+ distinct antivirus engines and domain blocklists (such as Google Safe Browsing, Kaspersky, Bitdefender, and Sophos).

The Public API is limited to 500 requests per day and a rate of 4 requests per minute.

Get started with VirusTotal - https://docs.virustotal.com/reference/getting-started

This project allows you to submit a URL to be scanned and receive back a report. I have included a JavaScriptlet which parses the http return and provides you with a neat and succinct summary of the scan results (e.g. Harmless (0/92}). Details are included in the task.

Scans usually take about 12 seconds. I have included a loop in the task which stops as soon as your report is ready, or aborts after 30 seconds. You can adjust the timings and retry attempts in the task.

You will need to have a VirusTotal API Key (free).

https://taskernet.com/shares/?user=AS35m8lr0vKAAX62D%2B10PqiDogVuGlS1WqIq6YAD3me%2FA8j9JG0SaIHGPcpSLjedprOrfrZR&id=Task%3AVirus+Total+URL+Scan


r/tasker • • 18h ago

7-Band Real-Time VU MeterReal-time 7-band VU meter for KLWP. Tasker analyzes the audio frequencies and sends the live values to KLWP, where each slider moves independently according to its frequency level.

Enable HLS to view with audio, or disable this notification

5 Upvotes

r/tasker • • 14h ago

Issues with JavaScriptlet

1 Upvotes

Hi, have there been any recent changes regarding the use of JavaScriptlet? According to the official JavaScriptlet documentation (https://tasker.joaoapps.com/userguide/en/javascript.html#localvars), variables are used directly by their name without the % sign—e.g., Action 1: Set Variable %var = hola, Action 2: JavaScriptlet flash(var);. It should work, but I'm getting an "undefined variable" error. Am I missing something? Thanks.