From 8eb1f3130a93124bcc223df266620030ef283abf Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Fri, 31 Oct 2014 01:01:58 +0100 Subject: [PATCH] Added DataPass project to query the data usage balance from the Telekom servers. --- DataPass.prj.xml | 551 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 551 insertions(+) create mode 100644 DataPass.prj.xml diff --git a/DataPass.prj.xml b/DataPass.prj.xml new file mode 100644 index 0000000..91473b0 --- /dev/null +++ b/DataPass.prj.xml @@ -0,0 +1,551 @@ + + + 1413063086509 + true + 1413133236369 + 107 + 102 + 108 + On Mobile Network + + 110 + + + + + + + 160 + true + + + + + + + 1413063809397 + true + 1414425735957 + 109 + 110 + Open In Browser + + 22759 + 0 + + + Event Behaviour +Filter: DP_OPEN (exact) + java.lang.String + anpar + java.lang.String + ancomm + java.lang.String + DP_OPEN + java.lang.String + false + java.lang.Boolean + true + java.lang.Boolean + false + java.lang.Boolean + anmessage + java.lang.String + true + java.lang.Boolean + <StringArray sr=""><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0>%anmessage +Whole AutoNotification Message +Whole AutoNotification Message</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1>%anpar() +Array of single words to the left of =:= +Array of single words to the left of =:=</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2>%ancomm +Everything to the right of =:= +Everything to the right of =:=</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2></StringArray> + [Ljava.lang.String; + plugininstanceid plugintypeid message_var command_var command_params_var config_notification_command + java.lang.String + true + java.lang.Boolean + e0505092-36af-4610-be5b-8e9d1b0b770d + java.lang.String + com.joaomgcd.autonotification.intent.IntentCommandEvent + java.lang.String + + + com.joaomgcd.autonotification + AutoNotification + + + + 1413063086509 + true + 1413133237117 + 111 + 102 + Update Data Every 30min + + 110 + + + + + + + 160 + true + + + + + + + + 1413062229731 + DataPass + 109,111,107 + Alpha + 102,110,108 + + hl_content_import_export + + + + 1411637659750 + 1414712752299 + 102 + 🌍 DataPass + 10 + + 13759 + + + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + Title: DataPass +Text: DataPass Abfrage läuft... +Action on Touch: DP_OPEN +Icon: android.resource://net.dinglisch.android.taskerm/hd_content_import_export +Status Bar Icon: ic_popup_sync +Id: datapass +Max Progress: 100 +Progress: %DP_USEDP +Indeterminate Progress: true +Persistent: true +Button 1: DP_OPEN +Label 1: Open in browser +Icon 1: ic_action_globe + java.lang.String + ic_action_globe + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + DP_OPEN + java.lang.String + DP_OPEN + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + Open in browser + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + false + java.lang.Boolean + <null> + java.lang.String + <null> + java.lang.String + false + java.lang.Boolean + android.resource://net.dinglisch.android.taskerm/hd_content_import_export + java.lang.String + true + java.lang.Boolean + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + 100 + java.lang.String + <null> + java.lang.String + true + java.lang.Boolean + <null> + java.lang.String + <null> + java.lang.String + %DP_USEDP + java.lang.String + <null> + java.lang.String + DataPass Abfrage läuft... + java.lang.String + <null> + java.lang.String + DataPass + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + ic_popup_sync + java.lang.String + plugininstanceid plugintypeid config_notification_command config_notification_title config_notification_text config_notification_url config_notification_action config_notification_icon config_notification_led_color config_notification_led_on config_notification_led_off config_notification_picture config_notification_action_button1 config_notification_action_label1 config_notification_action_button2 config_notification_action_label2 config_notification_action_button3 config_notification_action_label3 notificaitionid notificaitionsound config_notification_vibration config_notification_ticker config_status_bar_icon config_action_1_icon config_action_2_icon config_action_3_icon config_notification_priority config_notification_number config_notification_content_info config_notification_subtext config_notification_max_progress config_notification_progress config_notification_action_on_dismiss IconExpanded TextExpanded TitleExpanded StatusBarIconString ActionIconString1 ActionIconString2 ActionIconString3 + java.lang.String + true + java.lang.Boolean + datapass + java.lang.String + <null> + java.lang.String + 81dfaa29-783b-4c3e-8a0a-7e1625bfe4e6 + java.lang.String + com.joaomgcd.autonotification.intent.IntentNotification + java.lang.String + + + com.joaomgcd.autonotification + AutoNotification + + + + 37 + + + %WIFII + 2 + >>> CONNECTION <<<* + + + + + 43 + + + 25723 + + + false + java.lang.Boolean + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + Id: datapass + java.lang.String + plugininstanceid plugintypeid notificaitionid OtherId OtherPackage OtherTag + java.lang.String + true + java.lang.Boolean + datapass + java.lang.String + 08c23a4f-7e72-41bc-8cd0-81602d0638a4 + java.lang.String + com.joaomgcd.autonotification.intent.IntentCancelNotification + java.lang.String + + + com.joaomgcd.autonotification + AutoNotification Cancel + + + + 38 + + + 549 + %DP_USEDP + + + + 549 + %DP_USEDT + + + + 549 + %DP_EXPIRY + + + + 549 + %DP_INFO + + + + 548 + Disable WiFi! + + + + 137 + + + + + 38 + + + 118 + https://datapass.de + / + + + Mozilla/5.0 (Linux; Android 4.4.4; Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.99 Mobile Safari/537.36 + + + + + + + 37 + + + %HTTPR + 0 + 200 + + + + + 410 + datapass.html + %HTTPD + + + + + 129 + var html = global('HTTPD'); +var parser = new DOMParser(); +var doc = parser.parseFromString(html, 'text/html'); +var content = doc.getElementById('content'); + +setGlobal('DP_USEDP', parseInt(content.getElementsByClassName('indicator')[0].style.width)); + +setGlobal('DP_USEDT', content.getElementsByClassName('barTextBelow')[0].innerText); + +setGlobal('DP_EXPIRY', content.getElementsByClassName('infoValue expiryTime')[0].innerText); + +setGlobal('DP_INFO', content.getElementsByTagName('p')[0].innerText); + + + + + + 13759 + + + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + %DP_USEDT +(Gültig bis: %DP_EXPIRY) + +%DP_INFO + java.lang.String + <null> + java.lang.String + Title: DataPass +Text: %DP_USEDT +Icon: android.resource://net.dinglisch.android.taskerm/hd_content_import_export +Status Bar Icon: content_import_export_dark +Id: datapass +Content Info: %DP_USEDP % +Max Progress: 100 +Progress: %DP_USEDP +Persistent: true +Sound: content://media/external/audio/media/10778 +Text Expanded: %DP_USEDT +(Gültig bis: %DP_EXPIRY) + +%DP_INFO +Button 1: DP_OPEN +Label 1: Open in browser +Icon 1: ic_action_globe + java.lang.String + ic_action_globe + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + DP_OPEN + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + Open in browser + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + false + java.lang.Boolean + <null> + java.lang.String + %DP_USEDP % + java.lang.String + false + java.lang.Boolean + android.resource://net.dinglisch.android.taskerm/hd_content_import_export + java.lang.String + false + java.lang.Boolean + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + 100 + java.lang.String + <null> + java.lang.String + true + java.lang.Boolean + <null> + java.lang.String + <null> + java.lang.String + %DP_USEDP + java.lang.String + <null> + java.lang.String + %DP_USEDT + java.lang.String + <null> + java.lang.String + DataPass + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + content_import_export_dark + java.lang.String + plugininstanceid plugintypeid config_notification_command config_notification_title config_notification_text config_notification_url config_notification_action config_notification_icon config_notification_led_color config_notification_led_on config_notification_led_off config_notification_picture config_notification_action_button1 config_notification_action_label1 config_notification_action_button2 config_notification_action_label2 config_notification_action_button3 config_notification_action_label3 notificaitionid notificaitionsound config_notification_vibration config_notification_ticker config_status_bar_icon config_action_1_icon config_action_2_icon config_action_3_icon config_notification_priority config_notification_number config_notification_content_info config_notification_subtext config_notification_max_progress config_notification_progress config_notification_action_on_dismiss IconExpanded TextExpanded TitleExpanded StatusBarIconString ActionIconString1 ActionIconString2 ActionIconString3 + java.lang.String + true + java.lang.Boolean + datapass + java.lang.String + content://media/external/audio/media/10778 + java.lang.String + 81dfaa29-783b-4c3e-8a0a-7e1625bfe4e6 + java.lang.String + com.joaomgcd.autonotification.intent.IntentNotification + java.lang.String + + + com.joaomgcd.autonotification + AutoNotification + + + + hl_content_import_export + + + + 1413063244771 + 1414425702551 + 108 + 🌍 Hide Notification + 10 + + 137 + + 🌍 DataPass + + + 25723 + + + false + java.lang.Boolean + <null> + java.lang.String + <null> + java.lang.String + <null> + java.lang.String + Id: datapass + java.lang.String + plugininstanceid plugintypeid notificaitionid OtherId OtherPackage OtherTag + java.lang.String + true + java.lang.Boolean + datapass + java.lang.String + 5d7d13f8-dfe8-47ab-84ba-a4aa102fd2ca + java.lang.String + com.joaomgcd.autonotification.intent.IntentCancelNotification + java.lang.String + + + com.joaomgcd.autonotification + AutoNotification Cancel + + + + hl_content_import_export + + + + 1413063823587 + 1413078078639 + 110 + 🌍 Open In Browser + + 104 + https://datapass.de/ + + + hl_location_web_site + + +