-
-
Notifications
You must be signed in to change notification settings - Fork 9
OSL ‐ Iframes
Iframes allow you to quickly show websites within Origin and on top of OSL applications.
This command returns an array of all the open iframes in your application.
Example:
iframe "getall"
Opens an iframe and sets the variables iframe_url
and iframe_title
to the URL and title of the page they are viewing.
-
"identifier"
: A unique identifier for the iframe. -
x
: X-coordinate of the iframe's position. -
y
: Y-coordinate of the iframe's position. -
width
: Width of the iframe. -
height
: Height of the iframe.
Example:
iframe "url" "exampleIframe" 100 100 400 300
This command shows the iframe identified by the specified identifier.
-
"identifier"
: The unique identifier of the iframe to be shown.
Example:
iframe "exampleIframe" "show"
This command hides the iframe identified by the specified identifier.
-
"identifier"
: The unique identifier of the iframe to be hidden.
Example:
iframe "exampleIframe" "hide"
This command redirects a specific iframe to a different URL.
-
"identifier"
: The unique identifier of the iframe to be redirected. -
"url"
: The new URL to which the iframe should be redirected.
Example:
iframe "exampleIframe" "redirect" "https://new-url.com"
This command deletes an iframe identified by the specified identifier.
-
"identifier"
: The unique identifier of the iframe to be removed.
Example:
iframe "exampleIframe" "remove"
originOS is a web desktop gui with a self contained file system, programming languages, internet system and a whole lot of stuff an os should be able to do Use originOS here