blob: f1b9240092ad51b516713f61c7214fb5904409c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE>
<html>
<head>
<meta charset="utf-8">
<script>
"use strict";
var response = {
tabs: false,
cookie: document.cookie,
};
try {
browser.tabs.create({url: "file_sample.html"});
response.tabs = true;
} catch (e) {
// ok
}
window.parent.postMessage(response, "*");
</script>
</head>
</html>
|