-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwork.js
More file actions
30 lines (28 loc) · 1 KB
/
work.js
File metadata and controls
30 lines (28 loc) · 1 KB
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
window.addEventListener("load", () => {
const turnOn = () => {
const news = document.getElementById("l_nwsf");
const photo = document.getElementById("l_ph");
const audio = document.getElementById("l_aud");
const video = document.getElementById("l_vid");
const clips = document.getElementById("l_svd");
const games = document.getElementById("l_ap");
const mini_apps = document.getElementById("l_mini_apps");
const favs = document.getElementById("l_fav");
const audioplayer = document.getElementById("top_audio_player");
const notif = document.getElementById("top_notify_btn");
const array = [
news,
photo,
audio,
video,
clips,
games,
mini_apps,
favs,
audioplayer,
notif,
];
array.forEach((item) => item.remove());
};
document.getElementById("sw_ch").addEventListener("click", turnOn);
});