Auto Info Gather by JavaScript

Overview

It is an application that automatically executes JavaScript that collects information.
JavaScript itself needs to be created by the user.

This app can be used as follows.
  - It is troublesome to access the in house WEB regularly and check emails.
      If even just the title of the email can be collected automatically…
  - It is troublesome to check the information that is updated in an irregular stage periodically.
      If it can be collected automatically...


App download is here.
Get it on Google Play




Screenshot





App download is here.
Get it on Google Play




Details

- App Specifications
  - Up to 5 types of information can be collected with this application.
  - Each information can be displayed up to the latest 50 items.
  - Multi-line JavaScript is not supported.
  - It does not support JavaScript control statements (if, for, etc.) and variables.
  - Supports unique commands.
  - To prevent garbled characters, we recommend creating JavaScript in UTF-8 format.
  - Even if you update the JavaScript file, it will not be reflected in this application due to the file access authority of Android OS, so please read it again from the settings of this application.
  - If an error such as "Uncaught TypeError: Cannot read property" occurs in getElementXxx(), the acquired value is invalidated and the loop processing is skipped.
  - If a communication error occurs, such as when the radio wave condition is poor or when accessing a URL that does not exist, automatic collection is skipped.


- Unique Command
  1. //
      It is a one line comment.
      Lines with "//" are unconditionally considered as comments.

  2. WAIT
        Stops processing for milliseconds.

  3. WEB ACCESS
        It is a command to access the web.
        Only when "//" is before "WEB ACCESS", it is regarded as a comment line.

  4. ACCOUNT
        Replace the "ACCOUNT" part with the account you set.

  5. PASSWORD
        Replace "PASSWORD" with the password you set.

  6. WEB WAIT
        It is a command to wait until the web loading is completed when switching the URL with onClick() etc.
        Not required for "WEB ACCESS" and "SWITCH PAGE".

  7. BACKUP PAGE
        It is a command backs up the currently accessed URL.
          10 backups from 0 to 9 are possible.

  8. SWITCH PAGE
        It is a command switches to the backed up URL.

  9. DAYS
        A variable that stores the date.
        Only the "yyyy/MM/dd" and "MM/dd" formats are supported.

  10. TIME
        A variable that stores the time.
        Only the "HH:mm" format is supported.

  11. VIEW
        Is the variable in which to store the collected information.
          5 items from 1 to 5 can be stored.
          Even the stored information cannot be used as JavaScript.

  12. LOOP
      1. LOOP START COUNT = xxx MAX = xxx
            This is the command to start the loop.
              COUNT: Starting value.
              MAX: Maximum value.

      2. LOOP END
            This is the command to end the loop.

      3. COUNT
            In the loop, replace the "COUNT" part with the count value.
              - Example
                LOOP START COUNT = 0 MAX = 2
                  Replace "COUNT" with an addition such as 0,1,2.
                LOOP START COUNT = 2 MAX = 0
                  Replace "COUNT" with a subtraction such as 2,1,0.


- JavaScript Example
  - Collection of Substitute Lessons for Central Sports
    ------
    // Nishiarai Store
    WEB ACCESS https://www.central.co.jp/club/w_nishiarai/topics/instructor_pc.html

    // Collection of substitute lessons
    LOOP START COUNT = 0 MAX = 49
        VIEW1 = document.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[COUNT].getElementsByTagName('td')[0].getElementsByTagName('p')[0].textContent
        VIEW2 = document.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[COUNT].getElementsByTagName('td')[2].getElementsByTagName('p')[0].textContent
        VIEW3 = document.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[COUNT].getElementsByTagName('td')[3].getElementsByTagName('p')[0].textContent
        VIEW4 = document.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[COUNT].getElementsByTagName('td')[4].getElementsByTagName('p')[0].textContent
    LOOP END
    ------

  - Collection of Substitute Lessons for GOLD'S GYM
    ------
    // South Tokyo ANNEX Store
    WEB ACCESS http://goldsgym-m.jp/daikou/daikouPC.php?sid=6

    // Collection of substitute lessons
    LOOP START COUNT = 0 MAX = 49
        VIEW1 = document.getElementById('related-info-content').getElementsByTagName('b')[COUNT].textContent.split('年')[1]
        VIEW2 = document.getElementById('related-info-content').getElementsByTagName('dl')[COUNT].getElementsByTagName('dd')[3].textContent
        VIEW3 = document.getElementById('related-info-content').getElementsByTagName('dl')[COUNT].getElementsByTagName('dd')[4].textContent
        VIEW4 = document.getElementById('related-info-content').getElementsByTagName('dl')[COUNT].getElementsByTagName('dd')[2].textContent.split('\n')[0] + ' -> ' + document.getElementById('related-info-content').getElementsByTagName('dl')[COUNT].getElementsByTagName('dd')[5].textContent
    LOOP END
    ------

  - Collection of Substitute Lessons for Megaros
    ------
    // Tachikawa Kita Store
    WEB ACCESS https://www.megalos.co.jp/tachikawa_kita/member/

    // Collection of substitute lessons
    LOOP START COUNT = 0 MAX = 49
        VIEW1 = document.getElementsByClassName('memberAnnai')[0].getElementsByTagName('tr')[COUNT].getElementsByTagName('td')[0].textContent + ' ' + document.getElementsByClassName('memberAnnai')[0].getElementsByTagName('tr')[COUNT].getElementsByTagName('td')[1].textContent
        VIEW2 = document.getElementsByClassName('memberAnnai')[0].getElementsByTagName('tr')[COUNT].getElementsByTagName('td')[3].textContent
    LOOP END
    ------

  - Other
    ------
    // Web Access
    WEB ACCESS http://xxx...
    BACKUP PAGE1

    // Account and Password Settings
    document.getElementById('username').value = 'ACCOUNT'
    document.getElementById('passwd').value = 'PASSWORD'
    document.getElementById('btnSubmit').click()
    WEB WAIT
    BACKUP PAGE2

    // Logout
    document.getElementById('btnLogout').click()
    WEB WAIT
    WAIT 1000

    // Switch to the URL you are accessing at the timing of "BACKUP PAGE1".
    SWITCH PAGE1
    SWITCH PAGE2
    ------


- Notes
  - Please use this application at your own risk.
  - We are not responsible for any troubles caused by this application.
  - Please use it after understanding "Example of JavaScript".
  - Please use after debugging JavaScript with this application.
  - This application executes JavaScript in the background and collects information.
    Therefore, if you use the task killer app, power saving app, power saving app, memory cleaner app, battery optimization, etc., automatic collection may stop.
    If automatic collection is stopped, start this application to restart automatic collection.


- About the use of Advertising ID
  Use the ad ID to display the ad.
      The privacy policy is from here.


- About Account / Password
  - If you have set an account / password, to use according to JavaScript.


- About Permissions
  - Starts Automatically at Startup
      It is used to automatically resume information collection when the terminal is started or restarted.

  - Network communication
      Used for JavaScript web access.
      Used for displaying advertisements.


- Review by APPLION
https://applion.jp/android/app/com.markn.InfoGather/




App download is here.
Get it on Google Play




To Markn Software Site                

To App List                

To Privacy Policy