|
|
@ -294,7 +294,6 @@ function main() {
|
|
|
|
// We get flags using different selectors, and we need to align them differently.
|
|
|
|
// We get flags using different selectors, and we need to align them differently.
|
|
|
|
if (software.yotsuba) {
|
|
|
|
if (software.yotsuba) {
|
|
|
|
debug('4chan');
|
|
|
|
debug('4chan');
|
|
|
|
board_id = 'bant';
|
|
|
|
|
|
|
|
getPosts('.postContainer');
|
|
|
|
getPosts('.postContainer');
|
|
|
|
|
|
|
|
|
|
|
|
addGlobalStyle('.bantFlag {padding: 0px 0px 0px 5px; vertical-align:;display: inline-block; width: 16px; height: 11px; position: relative;} .flag{top: 0px;left: -1px}');
|
|
|
|
addGlobalStyle('.bantFlag {padding: 0px 0px 0px 5px; vertical-align:;display: inline-block; width: 16px; height: 11px; position: relative;} .flag{top: 0px;left: -1px}');
|
|
|
@ -303,7 +302,6 @@ function main() {
|
|
|
|
|
|
|
|
|
|
|
|
if (software.nodegucaDoushio) {
|
|
|
|
if (software.nodegucaDoushio) {
|
|
|
|
debug('Nineball');
|
|
|
|
debug('Nineball');
|
|
|
|
board_id = window.location.pathname.split('/')[1];
|
|
|
|
|
|
|
|
getPosts('section[id], article[id]');
|
|
|
|
getPosts('section[id], article[id]');
|
|
|
|
|
|
|
|
|
|
|
|
addGlobalStyle('.bantFlag {cursor: default} .bantFlag img {pointer-events: none;}');
|
|
|
|
addGlobalStyle('.bantFlag {cursor: default} .bantFlag img {pointer-events: none;}');
|
|
|
@ -312,12 +310,12 @@ function main() {
|
|
|
|
|
|
|
|
|
|
|
|
if (software.foolfuuka) {
|
|
|
|
if (software.foolfuuka) {
|
|
|
|
debug('FoolFuuka');
|
|
|
|
debug('FoolFuuka');
|
|
|
|
board_id = 'bant';
|
|
|
|
|
|
|
|
getPosts('article[id]');
|
|
|
|
getPosts('article[id]');
|
|
|
|
|
|
|
|
|
|
|
|
addGlobalStyle('.bantFlag{top: -2px !important;left: -1px !important}');
|
|
|
|
addGlobalStyle('.bantFlag{top: -2px !important;left: -1px !important}');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
board_id = window.location.pathname.split('/')[1];
|
|
|
|
resolveFlags();
|
|
|
|
resolveFlags();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -415,4 +413,4 @@ if (software.nodegucaDoushio) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}).observe(document.body, { childList: true, subtree: true });
|
|
|
|
}).observe(document.body, { childList: true, subtree: true });
|
|
|
|
}
|
|
|
|
}
|
|
|
|