-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodal.js
31 lines (20 loc) · 1.42 KB
/
modal.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
27
28
29
30
31
// alert("lol");
// wrapperDiv = document.createElement("div");
// wrapperDiv.setAttribute("style","position: absolute; left: 0px; top: 0px; background-color: rgb(255, 255, 255); opacity: 0.5; z-index: 2000; height: 100%; width: 100%;");
// iframeElement = document.createElement("iframe");
// iframeElement.setAttribute("style","width: 100%; height: 100%;");
// wrapperDiv.appendChild(iframeElement);
// modalDialogParentDiv = document.createElement("div");
// modalDialogParentDiv.setAttribute("style","position: absolute; width: 350px; border: 1px solid rgb(51, 102, 153); padding: 10px; background-color: rgb(255, 255, 255); z-index: 2001; overflow: auto; text-align: center; top: 149px; left: 497px;");
// modalDialogSiblingDiv = document.createElement("div");
// modalDialogTextDiv = document.createElement("div");
// modalDialogTextDiv.setAttribute("style" , "text-align:center");
// modalDialogTextSpan = document.createElement("span");
// modalDialogText = document.createElement("strong");
// modalDialogText.innerHTML = "Processing... Please Wait.";
// modalDialogTextSpan.appendChild(modalDialogText);
// modalDialogTextDiv.appendChild(modalDialogTextSpan);
// modalDialogSiblingDiv.appendChild(modalDialogTextDiv);
// modalDialogParentDiv.appendChild(modalDialogSiblingDiv);
// document.document.getElementById("ytd-app").appendChild(wrapperDiv);
// document.document.getElementById("ytd-app").appendChild(modalDialogParentDiv);