-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplus.google.com.js
84 lines (74 loc) · 2.39 KB
/
plus.google.com.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
75
76
77
78
79
80
81
82
83
84
$(function() {
function hide_sparks() {
$(".a-b-Gf-la-A").hide()
$("a[href='/welcome'], a[href='/u/0/welcome']").hide().next().hide()
}
var inrename = false
var new_names = {
"Jerome Leclanche": "Adys",
"Chris Heald": "Antiarc",
"Jim Whitehead II": "Cladhaire",
"Bryan McLemore": "Kaelten",
"André Eriksson": "Cide",
"Nicolas Noble": "|Pixel|",
"Kevin Ballard": "Eridius",
"Martin Brabham": "Optedoblivion",
"Tom Finn": "Dolby",
"Pete Lawler": "Bleeter",
"James Twyford": "KD3",
'Karen "Cairenn" Hobson': "Cairenn",
'Cairenn MMOUI': "Cairenn",
'Ryan Lakanen': "Seerah",
'P.C. Johnston': "pcj",
'Matt Converse': "Unkle",
'Matthew Orlando': "Cogwheel",
'David Lynch': "Kemayo",
'James "Denny" Callahan III': "Torhal",
'Jeremy Neumann': "Arrowmaster",
'James Adam': "Lazyatom",
'Matt Casey': "Vataro",
'Amber Yust': "Aiiane",
'Michael Dennis': "Loupyn",
'Sin Huan Chan': "Xinhuan",
'Mark Breitenbach': "Zhinjio",
'Jon Akhtar': "Sylvanaar",
'Trond A Ekseth': "Haste",
'George Pribul': "Kirkburn",
'Tim Connor': "Timocratic",
'Shane Sveller': "Ithato",
'Shane S.': "Ithato",
'Steve L.': "Hasteur",
'Keenan Maistry': "Neon Grizzly",
'Will Duncan': "Imagtic",
'Hone Melgren': "bluspacecow",
'David Burrow': "Hirsute",
'Dave Zachritz': "Lazerdave",
'Ben Lai': "Wobin",
'Andreas Legrum': "Elkano",
'Brandon Jernigan': "Whatisboom",
'Keith Causin': "FeistTheRogue",
'Korey Ray': "Khorax",
'David James': "BearAZ",
}
function rename_people(links) {
// console.log("Checking for renames", inrename, links)
if (inrename) return;
inrename = true
links.each(function(i) {
var realname = $(this).text()
var alias = new_names[realname]
if (alias) $(this).text(alias);
})
inrename = false
}
$("body").bind("DOMNodeInserted", function() {
rename_people($(this).find("a"))
hide_sparks()
$("span.a-b-f-i-aGdrWb:contains('Public')").parents("div.a-f-i").addClass("tek-public")
$("span.a-b-f-i-aGdrWb:contains('Limited')").parents("div.a-f-i").addClass("tek-limited")
})
rename_people($("a"))
hide_sparks()
$("body").append("<style> .tek-public { background: #f6fff6; } .tek-limited { background: #fff6f6; } </style>")
$("body").append("<style> .zhMuaf.Tp6dle: display: none;</style>"
})