TaskerでURLをブロックすることは可能ですか?
毎日の9-5のサイトをブロックしたいのですが。
TaskerでURLをブロックすることは可能ですか?
毎日の9-5のサイトをブロックしたいのですが。
Is it possible to block URLs with Tasker?
I'd like to block different sites from 9-5 everyday.
一般的に、いいえ。 TaskerがURLがいつ起動されたかを知ることはできません(「受信意図」イベントを持つテストは成功しませんでした)も、ロードからページを停止するためにブラウザを必要としていません。
dolphintasker 公開された場合は、 dolphintasker 発行した場合、そうすることができますこれはイルカブラウザです。しかし、それは現時点での選択肢ではありません。
In general, no. Tasker can't know when a URL is launched (my testing with the "Receive Intent" event had no success), nor does it have the necessary control over the browser to stop the page from loading.
That said, if I could find the time to get DolphinTasker published, then yes, you could do this with Dolphin Browser. But that's not an option at the moment.
あなたのデバイスが根ざしているかどうかができます。
のように、hostsファイル( /etc/hosts
)にURLを追加する必要があります。 <事前> <コード> /system1 など。
remount ( 99887665544332
)に注意してください。コード> /system 最初にコマンドを使用しています:
<コード> adb shell su mount -o remount,rw /system
ES Note Editorのようなエディタを使用する( ES File Explorer )編集を行い、システムを 9988776665444355
モードで再マウントします。また、編集前に、<コード> 9988766654437
コマンド
127.0.0.1 facecrook.com 127.0.0.1 liveminmin.com 2
楽しい!
You can if your device is rooted. You need to add the URLs in the hosts file (/etc/hosts
) like:
127.0.0.1 facecrook.com 127.0.0.1 liveminmin.com
and so on.
Note that you'll have to remount (as rw
) your /system
first using the commands:
adb shell su mount -o remount,rw /system
Use an editor like ES Note Editor (comes with ES File Explorer) to do the editing and then remount the system in ro
mode. Also, before editing, copy the default hosts file at some location say /sdcard/host_files/original/hosts
and the modified hosts file at /sdcard/host_files/modified/hosts
Now with the Tasker:
+
xe2x86x92 Time and select your timing when you want URLs to be blocked.+
xe2x86x92 Code xe2x86x92 Run Shell: mount -o remount,rw /system
in Command+
xe2x86x92 File xe2x86x92 Copy File: /sdcard/host_files/modified/hosts
/etc
folder by holding it.+
xe2x86x92 Code xe2x86x92 Run Shell: mount -o remount,ro /system
in Command+
xe2x86x92 System xe2x86x92 Reboot xe2x86x92 select Normal
in Type./sdcard/host_files/original/hosts
in step 3 under From.Enjoy!
© 2022 cndgn.com All Rights Reserved. Q&Aハウス 全著作権所有