/f/ embed and navLinks

This commit is contained in:
Brandon 2014-02-17 15:03:56 -08:00
parent e4a781cea6
commit 785bc4297c
4 changed files with 25 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* appchan x - Version 2.8.11 - 2014-02-16
* appchan x - Version 2.8.11 - 2014-02-17
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE

View File

@ -24,7 +24,7 @@
// ==/UserScript==
/*
* appchan x - Version 2.8.11 - 2014-02-16
* appchan x - Version 2.8.11 - 2014-02-17
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -13620,6 +13620,14 @@
while (item = items[i++]) {
Style.sheets[item[0]] = $.addStyle(item[1], item[0]);
}
if (g.BOARD.ID === 'f') {
$.ready(function() {
var badLink;
$.globalEval('SWFEmbed.init()');
badLink = $('.navLinks');
return badLink.parentNode.removeChild(badLink);
});
}
$.addStyle(JSColor.css(), 'jsColor');
$.asap((function() {
return d.head;

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript
/*
* appchan x - Version 2.8.11 - 2014-02-16
* appchan x - Version 2.8.11 - 2014-02-17
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -13621,6 +13621,14 @@
while (item = items[i++]) {
Style.sheets[item[0]] = $.addStyle(item[1], item[0]);
}
if (g.BOARD.ID === 'f') {
$.ready(function() {
var badLink;
$.globalEval('SWFEmbed.init()');
badLink = $('.navLinks');
return badLink.parentNode.removeChild(badLink);
});
}
$.addStyle(JSColor.css(), 'jsColor');
$.asap((function() {
return d.head;

View File

@ -22,6 +22,12 @@ Style =
while item = items[i++]
Style.sheets[item[0]] = $.addStyle item[1], item[0]
if g.BOARD.ID is 'f'
$.ready ->
$.globalEval 'SWFEmbed.init()'
badLink = $ '.navLinks'
badLink.parentNode.removeChild(badLink)
# Non-customizable
$.addStyle JSColor.css(), 'jsColor'