mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
Fix end tag in HTML fragment. (#355)
This commit is contained in:
@@ -4,7 +4,7 @@ const hostsInput = document.querySelector("#hosts");
|
||||
const codeInput = document.querySelector("#code");
|
||||
|
||||
const defaultHosts = "*://*.org/*";
|
||||
const defaultCode = "document.body.innerHTML = '<h1>This page has been eaten<h1>'";
|
||||
const defaultCode = "document.body.innerHTML = '<h1>This page has been eaten</h1>'";
|
||||
|
||||
hostsInput.value = defaultHosts;
|
||||
codeInput.value = defaultCode;
|
||||
|
||||
Reference in New Issue
Block a user