mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-20 00:04:14 +02:00
WebExtension example of some windows API functions. (#123)
This commit is contained in:
committed by
wbamberg
parent
81c4b3381c
commit
c42a263968
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="window.css"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="panel">
|
||||
<div class="panel-section panel-section-header">
|
||||
<div class="text-section-header">Window manipulator</div>
|
||||
</div>
|
||||
|
||||
<a href="#" id="window-update-size_768">Resize window to 768x1024</a><br>
|
||||
<a href="#" id="window-update-minimize">Minimize</a><br>
|
||||
|
||||
<div class="panel-section-separator"></div>
|
||||
|
||||
<a href="#" id="window-create-incognito">Create new incognito window</a><br>
|
||||
<a href="#" id="window-remove">Remove active window</a><br>
|
||||
|
||||
<div class="panel-section-separator"></div>
|
||||
|
||||
<a href="#" id="window-resize-all">Resize all windows to 1024x768</a><br>
|
||||
</div>
|
||||
|
||||
<script src="window.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user