-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmy-iwp.js
44 lines (32 loc) · 1.09 KB
/
my-iwp.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
jQuery(document).ready( function($)
{
// NO favicons
$('.site_selector_name span').remove();
// TIGHTEN site names row height
$("#bottom_toolbar #bottom_sites_cont .list_cont .ind_sites a").css({'padding': '4px 0 2px 5px'});
// ALTERNATE site row colors
$(".ind_sites.js_sites>a:odd").css({'background-color': '#f5f5f5'});
// NO love
$('.social_love').remove();
$('.twitter_icon_hdr,.fb_icon_hdr').remove();
// NO version
$('#admin_panel_label').remove();
// SELECTIVE modification, according to location (different IWPs)
if('/infinite/' == window.location.pathname)
{
$('#iwpAddonsBtn').remove();
}
// MOVE menus into Help menu
$($('li .first-level:contains("idea")').parent().html()).appendTo('li.help ul');
$('a[href$="1f9ff1"]:first').remove();
$('a[href$="1f9ff1"]').css({'color':'#111'});
if('/infinite/' != window.location.pathname)
{
$($('#iwpAddonsBtn').parent().html()).appendTo('li.help ul');
$('#iwpAddonsBtn:first').parent().remove();
}
// CHANGE Update Core text
$('#updateCentreBtn').text('iWP');
// REMOVE IWP Logo
$('#header_bar #logo').remove();
});