Make Fappe and Werk Tyme work on Tinyboard/vichan. #2171
This commit is contained in:
parent
98be4caf75
commit
d77bacd6e0
@ -1394,11 +1394,11 @@ input[name="Default Volume"] {
|
||||
margin: 0px;
|
||||
}
|
||||
/* Fappe and Werk Tyme */
|
||||
:root.fappeTyme .thread > .noFile,
|
||||
:root.fappeTyme .threadContainer > .noFile {
|
||||
:root.fappeTyme $site$relative$replyOriginal.noFile,
|
||||
:root.fappeTyme $site$relative$replyOriginal.noFile + br {
|
||||
display: none;
|
||||
}
|
||||
:root.werkTyme .postContainer:not(.noFile) .fileThumb,
|
||||
:root.werkTyme $site$file$thumbLink,
|
||||
:root.werkTyme .catalog-thumb:not(.deleted-file):not(.no-file),
|
||||
:root:not(.werkTyme) .werkTyme-filename {
|
||||
display: none;
|
||||
|
||||
@ -22,7 +22,6 @@ SW.tinyboard =
|
||||
'Quote Previewing'
|
||||
'Quote Backlinks'
|
||||
'File Info Formatting'
|
||||
'Fappe Tyme'
|
||||
'Image Expansion'
|
||||
'Image Expansion (Menu)'
|
||||
'Comment Expansion'
|
||||
@ -92,9 +91,11 @@ SW.tinyboard =
|
||||
text: '.fileinfo'
|
||||
link: '.fileinfo > a'
|
||||
thumb: 'a > .post-image'
|
||||
thumbLink: '.file > a'
|
||||
relative:
|
||||
opHighlight: ' > .op'
|
||||
replyPost: '.reply'
|
||||
replyOriginal: 'div[id^="reply_"]:not(.hidden)'
|
||||
comment: '.body'
|
||||
spoiler: '.spoiler'
|
||||
quotelink: 'a[onclick^="highlightReply("]'
|
||||
|
||||
@ -41,9 +41,11 @@ SW.yotsuba =
|
||||
text: '.file > :first-child'
|
||||
link: '.fileText > a'
|
||||
thumb: 'a.fileThumb > [data-md5]'
|
||||
thumbLink: 'a.fileThumb'
|
||||
relative:
|
||||
opHighlight: '.opContainer'
|
||||
replyPost: ' > .reply'
|
||||
replyOriginal: '.replyContainer:not([data-clone])'
|
||||
comment: '.postMessage'
|
||||
spoiler: 's'
|
||||
quotelink: ':not(pre) > .quotelink' # XXX https://github.com/4chan/4chan-JS/issues/77: 4chan currently creates quote links inside [code] tags; ignore them
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user