Auto-hide

1

Is there a way to hide a thread on the catalog and it would automatically hide itself on 4chanx? Or hiding a thread on 4chanx and it would hide itself on the catalog?

2 !Admin

You'll need a userscript for this.

I'll probably write one some time later this week.

3

>>2
Alright, thank you.

4

Any updates?

5

>>4
Soon

6

>>5
If you say so.

7 !Admin

>>6
I was kind of lazy busy these days.
I'll get it done asap™.

8

So any updates?

9 !Admin

>>8
Well, um, eh, I think you might have to wait another couple of weeks or so. But the wait will definitely be worth it.

True story!

10

How would you get this to work without GM_ functions on Chrome? You'd probably have to jump into gasp actual extension territory.

11

>>10
unsafeWindow should work on chrome with a bit of trickery.

12

>>11
catalog.neet.tv and boards.4chan.org aren't on the same origin, so there's no easy way to persist data between the two, like localStorage, unsafeWindow or otherwise.

Actually, I can imagine a method using window.postMessage and embedded iframes. Hmm, I might try this out.

13

>>12

window.postMessage and embedded iframes

That's what I was talking about.
Open iframes to /robots.txt and do the postMessage stuff.

14

>>13
Yeah, um, don't do that every time you load a page on 4chan though.

15

Hot off the proverbial presses:

mienai: synchronized thread hiding

No 4chan-X yet, need to go to bed.

16

>>15
Aaaand now it works with 4chan-X. I hope you're happy, OP.

17

>>16
Many thanks.

Reply

Preview?