Skip to content

Commit

Permalink
Create dark.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DM-09 authored Apr 21, 2023
1 parent a0ab522 commit e6f2906
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Script/dark.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Dark = setInterval(function() {
var cibSerp = document.getElementsByTagName("cib-serp");
var n = 0
for (let i = 0; i < cibSerp.length; i++) {
cibSerp[i].design.colorScheme=1;
cibSerp[i].alignment="center";
n = 1
}
if (n != 0) { clearInterval(Dark) }
}, 200);

// https://github.com/happydm09/Page/blob/main/test/dark.js

0 comments on commit e6f2906

Please sign in to comment.