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;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
/* Fappe and Werk Tyme */
|
/* Fappe and Werk Tyme */
|
||||||
:root.fappeTyme .thread > .noFile,
|
:root.fappeTyme $site$relative$replyOriginal.noFile,
|
||||||
:root.fappeTyme .threadContainer > .noFile {
|
:root.fappeTyme $site$relative$replyOriginal.noFile + br {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
:root.werkTyme .postContainer:not(.noFile) .fileThumb,
|
:root.werkTyme $site$file$thumbLink,
|
||||||
:root.werkTyme .catalog-thumb:not(.deleted-file):not(.no-file),
|
:root.werkTyme .catalog-thumb:not(.deleted-file):not(.no-file),
|
||||||
:root:not(.werkTyme) .werkTyme-filename {
|
:root:not(.werkTyme) .werkTyme-filename {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@ -22,7 +22,6 @@ SW.tinyboard =
|
|||||||
'Quote Previewing'
|
'Quote Previewing'
|
||||||
'Quote Backlinks'
|
'Quote Backlinks'
|
||||||
'File Info Formatting'
|
'File Info Formatting'
|
||||||
'Fappe Tyme'
|
|
||||||
'Image Expansion'
|
'Image Expansion'
|
||||||
'Image Expansion (Menu)'
|
'Image Expansion (Menu)'
|
||||||
'Comment Expansion'
|
'Comment Expansion'
|
||||||
@ -92,9 +91,11 @@ SW.tinyboard =
|
|||||||
text: '.fileinfo'
|
text: '.fileinfo'
|
||||||
link: '.fileinfo > a'
|
link: '.fileinfo > a'
|
||||||
thumb: 'a > .post-image'
|
thumb: 'a > .post-image'
|
||||||
|
thumbLink: '.file > a'
|
||||||
relative:
|
relative:
|
||||||
opHighlight: ' > .op'
|
opHighlight: ' > .op'
|
||||||
replyPost: '.reply'
|
replyPost: '.reply'
|
||||||
|
replyOriginal: 'div[id^="reply_"]:not(.hidden)'
|
||||||
comment: '.body'
|
comment: '.body'
|
||||||
spoiler: '.spoiler'
|
spoiler: '.spoiler'
|
||||||
quotelink: 'a[onclick^="highlightReply("]'
|
quotelink: 'a[onclick^="highlightReply("]'
|
||||||
|
|||||||
@ -41,9 +41,11 @@ SW.yotsuba =
|
|||||||
text: '.file > :first-child'
|
text: '.file > :first-child'
|
||||||
link: '.fileText > a'
|
link: '.fileText > a'
|
||||||
thumb: 'a.fileThumb > [data-md5]'
|
thumb: 'a.fileThumb > [data-md5]'
|
||||||
|
thumbLink: 'a.fileThumb'
|
||||||
relative:
|
relative:
|
||||||
opHighlight: '.opContainer'
|
opHighlight: '.opContainer'
|
||||||
replyPost: ' > .reply'
|
replyPost: ' > .reply'
|
||||||
|
replyOriginal: '.replyContainer:not([data-clone])'
|
||||||
comment: '.postMessage'
|
comment: '.postMessage'
|
||||||
spoiler: 's'
|
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
|
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