by megous · 1y ago · 0 comments
Then everything from big news websites or local american news websites. I don't care about the US anymore, nor what journalists there think about the world.
And then anything that comes from any of the big companies. Google, Amazon, Facebook/Meta, Apple, etc. They don't need any more attention that they already get and I don't use any of their services anyway, to care about their announcements.
This works well for streamlining the process, since there can be a lot of LLM stuff at any given day:
// ==UserScript==
// @name Flaghider
// @namespace Violentmonkey Scripts
// @match https://news.ycombinator.com/*
// @grant none
// @version 1.0
// @author -
// @description 7/13/2024, 9:03:34 PM
// ==/UserScript==
let lastEl;
document.addEventListener('mousemove', ev => {
let el = ev.target.closest('.athing');
if (lastEl) lastEl.style.backgroundColor = '';
lastEl = el;
if (lastEl) lastEl.style.backgroundColor = '#fcc';
});
function wait(ms) {
return new Promise(res => setTimeout(res, ms));
}
window.addEventListener('keydown', async ev => {
if (ev.key == 'b' && lastEl) {
let el = lastEl.nextElementSibling;
let hide = Array.from(el.querySelectorAll('a')).find(e => e.textContent == 'hide');
let flag = Array.from(el.querySelectorAll('a')).find(e => e.textContent == 'flag');
localStorage.setItem('scroll', document.body.scrollTop);
hide.click();
await wait(300);
location.href = flag.href;
}
});
document.body.scrollTop = localStorage.getItem('scroll');I do hope megous's flags are ignored by HN and they're just wasting their time.
None of the things described are off-topic for HN. If you don't like them, don't read them. Flagging is not supposed to be for imposing your personal reading preferences on others. Wow.
And I'll absolutely continue to use it for that. I like creative and technically investigative stuff, and flagging the rest is a way to steer this website in that direction.
Maybe upvoting would work too, if SN ratio would not be so low. But that's more work, because it can't be combined with hide function, so after upvoting, the noise stays visible.