You can control the WebAssistant interactively in the browser with the following URLs. If you use these URLs as bookmarks, you'll get a user interface which is adapted to your personal preferences.
Queries of settings
The query of values is carried out via the URL about the syntax:
http://127.0.0.1:8080?key
Example
You use for the query, whether the WebAssistant is in the surf mode "online" the key: isOnline
Query:
http://127.0.0.1:8080?isOnline
Result | WebAssistant is in surf mode … |
---|---|
isOnline: yes | Online |
isOnline: no | Offline |
Control of settings
Values are set with the URL about the syntax:
http://127.0.0.1:8080?key=value
Example
Setting the surf mode: "Online"
http://127.0.0.1:8080?isOnline=yes
Setting the surf mode: "Offline"
http://127.0.0.1:8080?isOnline=no
You get a switchover at logical values (yes, no) by the value: "switch"
Example
The WebAssistant changes the surf mode through:
http://127.0.0.1:8080?isOnline=switch
You get a list of the possible keys and values with the URL:
http://127.0.0.1:8080/config?help
Bookmarks
Enter the required URLs as bookmarks on your browser.
It is practical to summarize basic functions often required in a booklet. A booklet is nothing else as a bookmark which URL is a Java Script.
Example
You read a page in the offline mode and would like to update these. To this you must do:
- switch to surf modus: online
- and reload the page (new download)
Store these two functions as a bookmark to this:
javascript:location.href='http://127.0.0.1:8080?isOnline=switch&url='+document.URL