adding comments

This commit is contained in:
WAKOYA_KUMSA\waqo1
2023-02-28 15:57:59 +03:00
parent 132c23ad3d
commit 5b2e9ebdad
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -5,6 +5,6 @@ chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
target: { tabId },
files: ["inject.js"],
})
.then(() => console.log("script injected"));
}
});
+7 -2
View File
@@ -1,14 +1,16 @@
// css for pay with cief modal popup
var head = document.getElementsByTagName('HEAD')[0];
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = 'https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.19.1/css/mdb.min.css';
head.appendChild(link);
// end css for pay with cief modal popup
// creating modal and appending to body
const body = document.getElementsByTagName("body");
const modal = document.createElement("div");
modal.className = "modal fade right";
@@ -45,7 +47,6 @@ const ciflogo = document.createElement("img");
ciflogo.className = "image-fluid";
ciflogo.style = 'margin-top: 30px; width: 100%; height: 60%; max-height: 60px !important;';
ciflogo.src = "https://www.cief-malaysia.com/wp-content/uploads/2022/10/cropped-cief-dark-2.png";
// ciflogo.src ="https://www.cief-malaysia.com/wp-content/uploads/2018/05/cropped-CIEF-logo-min-1-32x32.png";
@@ -97,7 +98,10 @@ document.body.appendChild(modal);
document.querySelector(".modal").classList.add("show");
document.querySelector(".modal").style.display = "block";
// end creating modal and appending to body
// extract information and redirect
function extractdata() {
var table1 = document.getElementsByTagName('table')[0];
for (var i = 0; i < table1.tBodies.length; i++) {
@@ -132,3 +136,4 @@ function billplzurl() {
document.location.href = 'https://dev.exchange.cief-malaysia.com';
}
//end extract information and redirect