docs
This commit is contained in:
15
docs/utils/openInNewTab.md
Normal file
15
docs/utils/openInNewTab.md
Normal file
@@ -0,0 +1,15 @@
|
||||
<!-- /docs/utils/openInNewTab.md -->
|
||||
|
||||
# 🪟 openInNewTab.js
|
||||
|
||||
Öffnet eine URL in einem neuen Tab und schützt vor Referrer-Leaks.
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
openInNewTab(url);
|
||||
```
|
||||
|
||||
## Intern
|
||||
|
||||
- nutzt `window.open` mit `noopener,noreferrer`
|
||||
Reference in New Issue
Block a user