Add reply-hide class
This commit is contained in:
parent
7e5b9eb3d9
commit
c23ba817ba
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 4chan X - Version 1.2.12 - 2013-05-27
|
||||
* 4chan X - Version 1.2.12 - 2013-05-28
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC
|
||||
// ==/UserScript==
|
||||
/*
|
||||
* 4chan X - Version 1.2.12 - 2013-05-27
|
||||
* 4chan X - Version 1.2.12 - 2013-05-28
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
@ -2987,6 +2987,9 @@
|
||||
if (g.VIEW === 'catalog' || !Conf['Reply Hiding Buttons'] && !Conf['Reply Hiding Link']) {
|
||||
return;
|
||||
}
|
||||
if (Conf['Reply Hiding Buttons']) {
|
||||
$.addClass(doc, "reply-hide");
|
||||
}
|
||||
this.db = new DataBoard('hiddenPosts');
|
||||
return Post.prototype.callbacks.push({
|
||||
name: 'Reply Hiding',
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC
|
||||
// ==/UserScript==
|
||||
/*
|
||||
* 4chan X - Version 1.2.12 - 2013-05-27
|
||||
* 4chan X - Version 1.2.12 - 2013-05-28
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
@ -2983,6 +2983,9 @@
|
||||
if (g.VIEW === 'catalog' || !Conf['Reply Hiding Buttons'] && !Conf['Reply Hiding Link']) {
|
||||
return;
|
||||
}
|
||||
if (Conf['Reply Hiding Buttons']) {
|
||||
$.addClass(doc, "reply-hide");
|
||||
}
|
||||
this.db = new DataBoard('hiddenPosts');
|
||||
return Post.prototype.callbacks.push({
|
||||
name: 'Reply Hiding',
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// Generated by CoffeeScript
|
||||
/*
|
||||
* 4chan X - Version 1.2.12 - 2013-05-27
|
||||
* 4chan X - Version 1.2.12 - 2013-05-28
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
@ -2985,6 +2985,9 @@
|
||||
if (g.VIEW === 'catalog' || !Conf['Reply Hiding Buttons'] && !Conf['Reply Hiding Link']) {
|
||||
return;
|
||||
}
|
||||
if (Conf['Reply Hiding Buttons']) {
|
||||
$.addClass(doc, "reply-hide");
|
||||
}
|
||||
this.db = new DataBoard('hiddenPosts');
|
||||
return Post.prototype.callbacks.push({
|
||||
name: 'Reply Hiding',
|
||||
|
||||
@ -2,6 +2,9 @@ PostHiding =
|
||||
init: ->
|
||||
return if g.VIEW is 'catalog' or !Conf['Reply Hiding Buttons'] and !Conf['Reply Hiding Link']
|
||||
|
||||
if Conf['Reply Hiding Buttons']
|
||||
$.addClass doc, "reply-hide"
|
||||
|
||||
@db = new DataBoard 'hiddenPosts'
|
||||
Post::callbacks.push
|
||||
name: 'Reply Hiding'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user