Baseline Widely available
HTMLIFrameElement
æ¥å£ç sandbox
åªè¯»å±æ§è¿å表示对åµå¥å
容è¡ä¸ºçéå¶ç DOMTokenList
ã
å®è¡¨ç¤º <iframe>
å
ç´ ç sandbox
屿§ã
DOMTokenList
ãæ¯é¡¹å¿
é¡»æ¯ <iframe>
å
ç´ ç sandbox
屿§ååºç令çä¹ä¸ã
<iframe
id="el"
title="example"
src="https://example.com"
sandbox="allow-same-origin allow-scripts"></iframe>
const el = document.getElementById("el");
console.log(Array.from(el.sandbox)); // è¾åºï¼["allow-same-origin", "allow-scripts"]
el.sandbox = "";
console.log(Array.from(el.sandbox)); // è¾åºï¼[]
è§è æµè§å¨å
¼å®¹æ§
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4