增加 Chromium 浏览器逐站权限管理
This commit is contained in:
1 parent
0b89634af2
commit
f4ea1f8e03
8 files changed
+165
-6
No files matched your search
@@ -9,7 +9,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="tabs"><div id="tabs" aria-label="标签页"></div><button data-action="new" aria-label="新建标签页">+</button><span id="mode"></span><button data-action="bookmark">添加书签</button><button data-action="library">书签与历史</button><button id="show-downloads">下载</button></div>
|
||||
<div class="tabs"><div id="tabs" aria-label="标签页"></div><button data-action="new" aria-label="新建标签页">+</button><span id="mode"></span><button data-action="bookmark">添加书签</button><button data-action="library">书签与历史</button><button id="show-downloads">下载</button><button id="show-permissions">网站权限</button></div>
|
||||
<form id="address-form">
|
||||
<button type="button" data-action="back" aria-label="后退">←</button>
|
||||
<button type="button" data-action="forward" aria-label="前进">→</button>
|
||||
@@ -35,5 +35,17 @@
|
||||
<button data-action="clearDownloads">清除下载记录</button>
|
||||
<ul id="download-list"></ul>
|
||||
</section>
|
||||
<section id="permission-panel" hidden>
|
||||
<h1>网站权限</h1>
|
||||
<p id="permission-origin"></p>
|
||||
<fieldset id="site-grants">
|
||||
<legend>允许当前网站使用</legend>
|
||||
<label><input type="checkbox" value="camera">摄像头</label>
|
||||
<label><input type="checkbox" value="microphone">麦克风</label>
|
||||
<label><input type="checkbox" value="location">位置</label>
|
||||
<label><input type="checkbox" value="notifications">通知</label>
|
||||
<label><input type="checkbox" value="clipboard">剪贴板</label>
|
||||
</fieldset>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user