mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:45:56 +00:00
add nsfw plugin
This commit is contained in:
12
plugins/nsfw/init.js
Normal file
12
plugins/nsfw/init.js
Normal file
@@ -0,0 +1,12 @@
|
||||
function nsfwShow(elem) {
|
||||
try {
|
||||
content = elem.parentNode.getElementsBySelector("div.nswf.content")[0];
|
||||
|
||||
if (content) {
|
||||
Element.toggle(content);
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
exception_error("nswfSHow", e);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user