Dollchan

Return To bottom

>> Поддержать Dollchan <<

Куклоскрипт / Спеллы / Бордосфера / Обсуждение борды / Тред модерации / Задонатить / Получить пасскод

CAPTCHA
 Deletion password
  • Supported file types are JPG, PNG, GIF, WEBP, WEBM, MP4 and MOV.
  • Limit: 4 files, 30 MB per file (60 MB for Passcode users).
  • Images greater than 250x250 will be thumbnailed.
  • 1003 unique users on the board.

2317
16657587925663.png
(376.47KB, 1920x613)
Would someone be so kind and help ?
For normal links it's easy, CSS code :

a:visited {
color: #FFD700 !important;
}

But in the Catalog there are no links to color this way... only the threads opening image contains the hyperlink.

So how could i alter the pictures in the Catalog somehow after i visited them?
(Like placing a frame next to it, or anything)

If i'm mot mistaken, CSS codes can't touch these images, so some Javascript(+GreaseMonkey) would be needed.

- I also tried dollchan + 4chan-X scripts, but it doesn't seem they have this option. Am i missing something? This seems like a really basic / mandatory option for browsing chans efficiently.
2330
97a1dde6-b2c0-4d92-8120-6fba9603db14.png
(748.38KB, 1920x983)
You haven't mentioned wich imageboard you're talking about.
I think it's 4chan.

Higlighting visited threads in catalog there ― it's completely possible to achieve with just CSS.

The page at StackOverflow explains
https://stackoverflow.com/questions/56418220/css-selectors-avisited-childs
https://css-tricks.com/almanac/selectors/v/visited/
> You can only use :visited to change those properties if the link already has them in the “unvisited” or :link state. You can’t use it to add properties that aren’t already present on the link.

So your userstyle piece would be

#threads > .thread > a > img {
border: 3px solid;
border-color: #1d1f21;
}

#threads > .thread > a:visited > img {
border-color: red;
}

If you use different style, change the border-color to the style's border-color (so the border would not highlight ordinary iterms).
2331
>>2330
Fix for last line:
*If you use different theme, change the first border-color to the style's background color (so the border would not highlight ordinary iterms)

Delete Post  

Куклоскрипт / Спеллы / Бордосфера / Обсуждение борды / Тред модерации / Задонатить / Получить пасскод

>> Поддержать Dollchan <<

Return To top