|
|
@ -11,7 +11,7 @@
|
|
|
|
// @exclude http*://archive.nyafuu.org/bant/statistics/
|
|
|
|
// @exclude http*://archive.nyafuu.org/bant/statistics/
|
|
|
|
// @exclude http*://archived.moe/bant/statistics/
|
|
|
|
// @exclude http*://archived.moe/bant/statistics/
|
|
|
|
// @exclude http*://thebarchive.com/bant/statistics/
|
|
|
|
// @exclude http*://thebarchive.com/bant/statistics/
|
|
|
|
// @version 1.1.1
|
|
|
|
// @version 1.1.2
|
|
|
|
// @grant GM_xmlhttpRequest
|
|
|
|
// @grant GM_xmlhttpRequest
|
|
|
|
// @grant GM_getValue
|
|
|
|
// @grant GM_getValue
|
|
|
|
// @grant GM_setValue
|
|
|
|
// @grant GM_setValue
|
|
|
@ -412,6 +412,7 @@ if (site.fourchan) {
|
|
|
|
|
|
|
|
|
|
|
|
if (site.nineball) {
|
|
|
|
if (site.nineball) {
|
|
|
|
nsetup.init();
|
|
|
|
nsetup.init();
|
|
|
|
|
|
|
|
|
|
|
|
new MutationObserver(function (mutations) {
|
|
|
|
new MutationObserver(function (mutations) {
|
|
|
|
mutations.forEach(function (mutation) {
|
|
|
|
mutations.forEach(function (mutation) {
|
|
|
|
|
|
|
|
|
|
|
@ -419,6 +420,7 @@ if (site.nineball) {
|
|
|
|
if (mutation.target.nodeName === 'THREADS') {
|
|
|
|
if (mutation.target.nodeName === 'THREADS') {
|
|
|
|
setTimeout(getposts('section[id], article[id]'), 2000);
|
|
|
|
setTimeout(getposts('section[id], article[id]'), 2000);
|
|
|
|
resolveRefFlags();
|
|
|
|
resolveRefFlags();
|
|
|
|
|
|
|
|
nsetup.init();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (mutation.addedNodes[0].nodeName === 'HEADER') { // When you make a post
|
|
|
|
if (mutation.addedNodes[0].nodeName === 'HEADER') { // When you make a post
|
|
|
|
let data = 'post_nr=' + encodeURIComponent(mutation.target.id) + '&board=' + encodeURIComponent(board_id) + '®ions=' + encodeURIComponent(regions) + '&version=' + encodeURIComponent(version);
|
|
|
|
let data = 'post_nr=' + encodeURIComponent(mutation.target.id) + '&board=' + encodeURIComponent(board_id) + '®ions=' + encodeURIComponent(regions) + '&version=' + encodeURIComponent(version);
|
|
|
@ -428,7 +430,7 @@ if (site.nineball) {
|
|
|
|
data,
|
|
|
|
data,
|
|
|
|
function (resp) {
|
|
|
|
function (resp) {
|
|
|
|
postNrs.push(mutation.target.id);
|
|
|
|
postNrs.push(mutation.target.id);
|
|
|
|
setTimeout(resolveRefFlags, 0);
|
|
|
|
resolveRefFlags();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (mutation.addedNodes[0].nodeName === 'ARTICLE') { // When someone else makes a post
|
|
|
|
if (mutation.addedNodes[0].nodeName === 'ARTICLE') { // When someone else makes a post
|
|
|
|