-
Notifications
You must be signed in to change notification settings - Fork 0
/
gigi-footer.js
74 lines (73 loc) · 3.59 KB
/
gigi-footer.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
let e = 0,
r = setInterval(() => {
try {
let t = Array.from(
document.querySelectorAll("footer > div > div.md-footer__copyright")
).filter((e) => !e.classList.contains("inj"));
for (let i of ((e += 50) >= 1e4 && clearInterval(r), t)) {
i.classList.add("inj");
let n = i.querySelector(".ppt");
n &&
(n.innerHTML = `
<a href="/terms-of-use" style="text-decoration:underline;" rel="noopener noreferrer">Terms of Service</a> |
<a href="/privacypolicy" style="text-decoration:underline;" rel="noopener noreferrer">Privacy Policy</a> |
<a href="/personal-information-privacy" style="text-decoration:underline;" rel="noopener noreferrer">Do Not Sell or Share My Personal Information</a> |
<a href="/privacypolicy#california-privacy-notice" style="text-decoration:underline;" rel="noopener noreferrer">California Privacy Notice</a> |
<a href="/property-listings/sitemap" style="text-decoration:underline;" rel="noopener noreferrer">Property Listings</a> |
<a href="/sitemap" style="text-decoration:underline;" rel="noopener noreferrer">Sitemap</a> |
<a href="/accessibility" style="text-decoration:underline;" rel="noopener noreferrer">Accessibility</a>
`),
new MutationObserver((e, r) => {
for (let t of e)
if ("childList" === t.type) {
let n = i.querySelector(".ppt");
n &&
!n.classList.contains("edited") &&
(n.classList.add("edited"),
(n.innerHTML = `
<a href="/terms-of-use" style="text-decoration:underline;" rel="noopener noreferrer">Terms of Service</a> |
<a href="/privacypolicy" style="text-decoration:underline;" rel="noopener noreferrer">Privacy Policy</a> |
<a href="/personal-information-privacy" style="text-decoration:underline;" rel="noopener noreferrer">Do Not Sell or Share My Personal Information</a> |
<a href="/privacypolicy#california-privacy-notice" style="text-decoration:underline;" rel="noopener noreferrer">California Privacy Notice</a> |
<a href="/property-listings/sitemap" style="text-decoration:underline;" rel="noopener noreferrer">Property Listings</a> |
<a href="/sitemap" style="text-decoration:underline;" rel="noopener noreferrer">Sitemap</a> |
<a href="/accessibility" style="text-decoration:underline;" rel="noopener noreferrer">Accessibility</a>
`));
}
}).observe(i, { childList: !0, subtree: !0 });
}
} catch (a) {
console.error("PPT ->", a);
}
}, 50);
}
{
let e = 0,
r = setInterval(() => {
try {
let t = Array.from(document.querySelectorAll("li.menu-item")).filter(
(e) => !e.classList.contains("inj")
);
for (let i of ((e += 50) >= 1e4 && clearInterval(r), t)) {
i.classList.add("inj");
let n = i.querySelector("a");
n &&
n.href.includes("/tel:+14243325556") &&
(n.href = `tel:+14243325556`),
new MutationObserver((e, r) => {
for (let t of e)
if ("childList" === t.type) {
let n = i.querySelector("a");
n &&
n.href.includes("/tel:+14243325556") &&
!n.classList.contains("edited") &&
(n.classList.add("edited"), (n.href = `tel:+14243325556`));
}
}).observe(i, { childList: !0, subtree: !0 });
}
} catch (a) {
console.error("TEL ->", a);
}
}, 50);
}