forked from mirrors/gecko-dev
MozReview-Commit-ID: JUPAkCBhvPc --HG-- extra : rebase_source : a8b3aa042009ae26d0e82b3d512f4c4458f46cb9
36 lines
1.6 KiB
HTML
36 lines
1.6 KiB
HTML
<!doctype html>
|
|
<html lang="id" dir="ltr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Security-Policy-Report-Only" content="script-src 'unsafe-inline'; img-src http: https: data: blob:; style-src 'unsafe-inline'; child-src 'none'; object-src 'none'; report-uri https://tiles.services.mozilla.com/v4/links/activity-stream/csp">
|
|
<title>Tab Baru</title>
|
|
<link rel="icon" type="image/png" id="favicon" href="chrome://branding/content/icon32.png"/>
|
|
<link rel="stylesheet" href="chrome://browser/content/contentSearchUI.css" />
|
|
<link rel="stylesheet" href="resource://activity-stream/data/content/activity-stream.css" />
|
|
</head>
|
|
<body class="activity-stream">
|
|
<div id="root"></div>
|
|
<div id="snippets-container">
|
|
<div id="snippets"></div>
|
|
</div>
|
|
<script>
|
|
// Don't directly load the following scripts as part of html to let the page
|
|
// finish loading to render the content sooner.
|
|
for (const src of [
|
|
"chrome://browser/content/contentSearchUI.js",
|
|
"resource://activity-stream/vendor/react.js",
|
|
"resource://activity-stream/vendor/react-dom.js",
|
|
"resource://activity-stream/vendor/react-intl.js",
|
|
"resource://activity-stream/vendor/redux.js",
|
|
"resource://activity-stream/vendor/react-redux.js",
|
|
"resource://activity-stream/data/content/activity-stream.bundle.js"
|
|
]) {
|
|
// These dynamically inserted scripts by default are async, but we need them
|
|
// to load in the desired order (i.e., bundle last).
|
|
const script = document.body.appendChild(document.createElement("script"));
|
|
script.async = false;
|
|
script.src = src;
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|