script: add unfocus function (built-in client only)

This commit is contained in:
bordun 2020-06-18 13:37:50 +02:00
parent ce5fa36cd6
commit e99cdaa677
3 changed files with 19 additions and 1 deletions

View file

@ -125,3 +125,9 @@ Reference:
- https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearInterval
----
#### `unfocus`: `function()`
*Built-in client only*: tells the operating system to give the focus to the window that was focused before.
----