per-page tag/cw muting will be here eventually! in the meantime cohost is still a place to look at porn or your friends' nudes. if you're doing this then you may like this userscript, which will click "show post" on every post for you.
if I make this any more intricate I'll host it on my website so I can update it.
click read more
simply change the strings 'porn' and 'after-dark' to the page handles you want to use this on. make sure to use quotes still, and if you need to add more then make them comma separated. also don't include an @.
// ==UserScript==
// @name porn viewer
// @namespace http://cohost.org/
// @version 0.1
// @description for looking at porn pre per-page tag/cw muting
// @author wowperfect
// @match https://cohost.org/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=cohost.org
// @grant none
// ==/UserScript==
function showPosts() {
'use strict';
const handles = ['porn', 'after-dark']
for (let handle of handles) {
if (document.querySelector('header span').textContent === '@' + handle) {
for (let elem of document.querySelectorAll('button')) {
if (elem.textContent === 'show post') {
elem.click()
}
}
}
}
}
(function () {
setInterval(showPosts, 500);
})()




