Tag:
%gLiteral %: %%
"});
ref = $$('.warning', section);
for (j = 0, len = ref.length; j < len; j++) {
warning = ref[j];
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index f5f3d25d8..956ed8eb3 100644
Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ
diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js
index e45b20c91..a4c84fefc 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.12.10
+// @version 1.14.13.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index 7e5597870..879741884 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.12.10
+// @version 1.14.13.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -219,7 +219,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.12.10',
+ VERSION: '1.14.13.0',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@@ -2828,6 +2828,10 @@ input[name=\"Default Volume\"] {\n\
margin-right: 4px;\n\
padding: 2px;\n\
}\n\
+$site$infoRoot a.hide-reply-button {\n\
+ margin-right: 6px;\n\
+ padding: 0;\n\
+}\n\
.replacedSideArrows {\n\
float: left;\n\
}\n\
@@ -9670,7 +9674,7 @@ PostHiding = (function() {
$.replace(sideArrows.firstChild, button);
return sideArrows.className = 'replacedSideArrows';
} else {
- return $.prepend(this.nodes.root, button);
+ return $.prepend(this.nodes.info, button);
}
},
menu: {
@@ -10756,7 +10760,7 @@ Header = (function() {
return;
}
boardnav = boardnav.replace(/(\r\n|\n|\r)/g, ' ');
- re = /[\w@]+(-(all|title|replace|full|index|catalog|archive|expired|(mode|sort|text):"[^"]+"(,"[^"]+")?))*|[^\w@]+/g;
+ re = /[\w@]+(-(all|title|replace|full|index|catalog|archive|expired|nt|(mode|sort|text):"[^"]+"(,"[^"]+")?))*|[^\w@]+/g;
nodes = (function() {
var j, len, ref, results;
ref = boardnav.match(re);
@@ -10802,6 +10806,10 @@ Header = (function() {
textContent: text || '+',
className: 'external'
});
+ if (/-nt/.test(t)) {
+ a.target = '_blank';
+ a.rel = 'noopener';
+ }
return a;
}
boardID = t.split('-')[0];
@@ -10814,6 +10822,10 @@ Header = (function() {
textContent: text || g.BOARD.ID,
className: 'current'
});
+ if (/-nt/.test(t)) {
+ a.target = '_blank';
+ a.rel = 'noopener';
+ }
if (/-index/.test(t)) {
a.dataset.only = 'index';
} else if (/-catalog/.test(t)) {
@@ -10888,6 +10900,10 @@ Header = (function() {
return a.firstChild;
}
}
+ if (/-nt/.test(t)) {
+ a.target = '_blank';
+ a.rel = 'noopener';
+ }
if (boardID === '@') {
$.addClass(a, 'navSmall');
}
@@ -13430,7 +13446,7 @@ Settings = (function() {
},
advanced: function(section) {
var applyCSS, boardSelect, customCSS, event, input, inputs, interval, items, itemsArchive, j, k, l, len, len1, len2, len3, listImageHost, m, name, ref, ref1, ref2, ref3, ref4, table, textContent, updateArchives, warning;
- $.extend(section, {innerHTML: "