Scene Element: WebView(ウェブビュー)

About(解説)

A Web element is like a browser window.

https://tasker.joaoapps.com/userguide/en/element_web.html

ウェブ要素はブラウザの様なものです。

Parameters: Mode / Source(パラメーター:情報取得元)

These parameters determine how the content for the WebView is to be acquired.

  • URI: the Source parameter refers to a URI (e.g. http://) from which the WebView should retrieve content.
  • File: the Source parameter contains a local file path from which the WebView should retrieve content.
  • Direct: the Source parameter directly specifies the HTML and/or JavaScript content to load
https://tasker.joaoapps.com/userguide/en/element_web.html

これらのパラメーターはウェブビューの内容をどのように取得するかを指定します。

  • URI:このパラメーターはURI(例:http://)としてウェブビューの表示内容を取得します。
  • ファイル:このパラメーターはローカルファイルパスとしてウェブビューの表示内容を取得します。
  • 直接:このパラメーターではHTMLまたはJavaScriptを表示内容として使用します。

Parameter: Allow Phone Access(パラメーター:機器本体にアクセスを許可する)

If checked, the content in the WebView is allowed access to local device files, data stores, and can run JavaScript, including Tasker’s JavaScript Interface functions.

This is a very powerful feature, since it allows a WebView to present a complex and highly functional interface, but should only be enabled if you entirely trust the source of the specified content.

Note that references to local files must be absolute (include the directory) even when the WebView source is specified as a file e.g. /sdcard/myfiles/scripts.js

https://tasker.joaoapps.com/userguide/en/element_web.html

チェックを入れるとウェブビューに端末に保存されているファイル、データストアおよびTaskerのJavaScriptインターフェース機能を含むJavaScriptの実行を許可します。

これはウェブビューに複雑かつ高度なインターフェースとしての機能を与えることができるとても強力な機能ですが、コンテンツに指定した情報ソースが信頼に足る場合にのみ有効にすることをお勧めします。

情報取得元の設定がファイルになっている場合は(ディレクトリパスを含む)絶対参照で行う必要があります。例:/sdcard/myfile/scripts.js

Parameter: Self Handle Links(パラメーター:リンクを自力で処理する)

If checked, links will be handled by the WebView itself, otherwise they will be passed to the system for handling e.g. by the default web browser.

https://tasker.joaoapps.com/userguide/en/element_web.html

チェックが入っている場合、リンクはウェブビュー自身によって処理されます。チェックを入れない場合は処理は標準ブラウザなどシステムに任されます。

Parameter: Support Popups(パラメーター:ポップアップを使用可能)

If this parameter is not checked, HTML elements which generate a popup window, for instance selection elements in forms, will crash the scene when they are activated.

If this parameter is checked, when the scene is hidden and reshown, some of its state will be lost e.g. which part of the page was being displayed, zoom level.

https://tasker.joaoapps.com/userguide/en/element_web.html

このパラメーターがチェックされていない場合ポップアップを表示するHTML要素(フォーム内のセレクション要素)がアクティブになったときにシーンがクラッシュします。

このパラメーターがチェックされている場合シーンは非表示にされたのち再表示されます。これにより表示中のページや表示サイズなどいくつかの状態が失われます。

Events(イベント)

Related Actions(関連するアクション)

https://tasker.joaoapps.com/userguide/en/element_web.html
  • 要素:ウェブ制御
  • 要素にフォーカス
  • 要素の座標
  • 要素のサイズ
  • 要素の可視性
  • 要素の重なり順
  • 要素を調査

See Also(こちらもご覧下さい)