Add a widget and web URL
The widget does a
GET
request for the web URL, the result is shown as text inside the widget.
-
Hello World!
→ Hello World!
-
#ff0000 Hello World!
→ Hello World! (with red background)
-
red Hello World!
→ Hello World! (with red background)
The web request contains the query parameter
isClick
.
-
isClick
is
true
if the request is caused by the user tapping the widget.
-
isClick
is
false
if the request is caused by a periodic refresh of the widget.
If the first word inside the response is a valid color, it will be set as the background color of the widget.
Supported color formats are:
-
#RRGGBB
(hex color)
-
#AARRGGBB
(hex color with alpha)
-
red
(color name)
The following color names are supported:
'red', 'blue', 'green', 'black', 'white', 'gray', 'cyan', 'magenta', 'yellow', 'lightgray', 'darkgray', 'grey', 'lightgrey', 'darkgrey', 'aqua', 'fuchsia', 'lime', 'maroon', 'navy', 'olive', 'purple', 'silver', 'teal'.
Show network errors as an icon instead of text in the widget body
New app icon (rarely seen as a widget)
Include RO translation