mirror of
https://github.com/XFox111/TabsAsideExtension.git
synced 2026-04-22 07:58:01 +03:00
Done extension UI and basic interactions
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="trigger.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,11 @@
|
||||
chrome.tabs.query({ active: true, currentWindow: true }, function(tabs)
|
||||
{
|
||||
chrome.tabs.sendMessage(
|
||||
tabs[0].id,
|
||||
{ },
|
||||
function()
|
||||
{
|
||||
window.close();
|
||||
}
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user