mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
a182a61bce
MozReview-Commit-ID: BZlkPTcLJMB
14 lines
406 B
HTML
14 lines
406 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<link rel="icon" href="http://example.org/one-icon" type="image/ico" id="i">
|
|
</head>
|
|
<body>
|
|
<script>
|
|
window.addEventListener("PleaseChangeFavicon", function() {
|
|
var ico = document.getElementById("i");
|
|
ico.setAttribute("href", "http://example.org/other-icon");
|
|
});
|
|
</script>
|
|
</body></html>
|