You are viewing a single comment's thread.

view the rest of the comments →

0
2

[–] netk6 0 points 2 points (+2|-0) ago  (edited ago)

Hello,

Unfortunately, there's no programming solution for this problem in the context of Voat because the Voat programming doesn't permit it. It has to be hard-coded in your subverse stylesheet...

If you are still interested in this solution, here's an example I just crafted for you: https://voat.co/v/NetK6/1466777

If you want to test for yourself, add the following code to your subverse. It contains the last top 50 domains (ordered) as a starting point.

a[href^="//searchvoat.co?d="]{background-image:url('https://favico.be/yusuke/fugue/globe--exclamation');background-position:left center;background-repeat:no-repeat;padding-left:20px;}
a[href$="?d=bbc.com"]{background-image:url('https://favico.be/16/bbc.com');}
a[href$="?d=breitbart.com"]{background-image:url('https://favico.be/16/breitbart.com');}
a[href$="?d=businessinsider.com"]{background-image:url('https://favico.be/16/businessinsider.com');}
a[href$="?d=cbc.ca"]{background-image:url('https://favico.be/16/cbc.ca');}
a[href$="?d=dailycaller.com"]{background-image:url('https://favico.be/16/dailycaller.com');}
a[href$="?d=dailymail.co.uk"]{background-image:url('https://favico.be/16/dailymail.co.uk');}
a[href$="?d=deviantart.net"]{background-image:url('https://favico.be/16/deviantart.net');}
a[href$="?d=dilbert.com"]{background-image:url('https://favico.be/16/dilbert.com');}
a[href$="?d=dslreports.com"]{background-image:url('https://favico.be/16/dslreports.com');}
a[href$="?d=eff.org"]{background-image:url('https://favico.be/16/eff.org');}
a[href$="?d=en.m.wikipedia.org"]{background-image:url('https://favico.be/16/en.m.wikipedia.org');}
a[href$="?d=en.wikipedia.org"]{background-image:url('https://favico.be/16/en.wikipedia.org');}
a[href$="?d=express.co.uk"]{background-image:url('https://favico.be/16/express.co.uk');}
a[href$="?d=facebook.com"]{background-image:url('https://favico.be/16/facebook.com');}
a[href$="?d=fee.org"]{background-image:url('https://favico.be/16/fee.org');}
a[href$="?d=flickr.com"]{background-image:url('https://favico.be/16/flickr.com');}
a[href$="?d=foxnews.com"]{background-image:url('https://favico.be/16/foxnews.com');}
a[href$="?d=freeasiamedia.org"]{background-image:url('https://favico.be/16/freeasiamedia.org');}
a[href$="?d=gfycat.com"]{background-image:url('https://favico.be/16/gfycat.com');}
a[href$="?d=goal.com"]{background-image:url('https://favico.be/16/goal.com');}
a[href$="?d=google.com"]{background-image:url('https://favico.be/16/google.com');}
a[href$="?d=hypebot.com"]{background-image:url('https://favico.be/16/hypebot.com');}
a[href$="?d=icitech.org"]{background-image:url('https://favico.be/16/icitech.org');}
a[href$="?d=imgtc.com"]{background-image:url('https://favico.be/16/imgtc.com');}
a[href$="?d=imgur.com"]{background-image:url('https://favico.be/16/imgur.com');}
a[href$="?d=independent.co.uk"]{background-image:url('https://favico.be/16/independent.co.uk');}
a[href$="?d=inquisitr.com"]{background-image:url('https://favico.be/16/inquisitr.com');}
a[href$="?d=instagram.com"]{background-image:url('https://favico.be/16/instagram.com');}
a[href$="?d=japantimes.co.jp"]{background-image:url('https://favico.be/16/japantimes.co.jp');}
a[href$="?d=kitv.com"]{background-image:url('https://favico.be/16/kitv.com');}
a[href$="?d=latimes.com"]{background-image:url('https://favico.be/16/latimes.com');}
a[href$="?d=livescience.com"]{background-image:url('https://favico.be/16/livescience.com');}
a[href$="?d=mirror.co.uk"]{background-image:url('https://favico.be/16/mirror.co.uk');}
a[href$="?d=neogaf.com"]{background-image:url('https://favico.be/16/neogaf.com');}
a[href$="?d=nypost.com"]{background-image:url('https://favico.be/16/nypost.com');}
a[href$="?d=phys.org"]{background-image:url('https://favico.be/16/phys.org');}
a[href$="?d=reddit.com"]{background-image:url('https://favico.be/16/reddit.com');}
a[href$="?d=reuters.com"]{background-image:url('https://favico.be/16/reuters.com');}
a[href$="?d=rt.com"]{background-image:url('https://favico.be/16/rt.com');}
a[href$="?d=seeker.com"]{background-image:url('https://favico.be/16/seeker.com');}
a[href$="?d=siliconera.com"]{background-image:url('https://favico.be/16/siliconera.com');}
a[href$="?d=sli.mg"]{background-image:url('https://favico.be/16/sli.mg');}
a[href$="?d=space.com"]{background-image:url('https://favico.be/16/space.com');}
a[href$="?d=streamable.com"]{background-image:url('https://favico.be/16/streamable.com');}
a[href$="?d=thefitgirlz.com"]{background-image:url('https://favico.be/16/thefitgirlz.com');}
a[href$="?d=thefreethoughtproject.com"]{background-image:url('https://favico.be/16/thefreethoughtproject.com');}
a[href$="?d=theguardian.com"]{background-image:url('https://favico.be/16/theguardian.com');}
a[href$="?d=theregister.co.uk"]{background-image:url('https://favico.be/16/theregister.co.uk');}
a[href$="?d=theverge.com"]{background-image:url('https://favico.be/16/theverge.com');}
a[href$="?d=tumblr.com"]{background-image:url('https://favico.be/16/tumblr.com');}
a[href$="?d=twitter.com"]{background-image:url('https://favico.be/16/twitter.com');}
a[href$="?d=usatoday.com"]{background-image:url('https://favico.be/16/usatoday.com');}
a[href$="?d=veteranstoday.com"]{background-image:url('https://favico.be/16/veteranstoday.com');}
a[href$="?d=vimeo.com"]{background-image:url('https://favico.be/16/vimeo.com');}
a[href$="?d=voat.co"]{background-image:url('https://favico.be/16/voat.co');}
a[href$="?d=washingtonpost.com"]{background-image:url('https://favico.be/16/washingtonpost.com');}
a[href$="?d=wikileaks.org"]{background-image:url('https://favico.be/16/wikileaks.org');}
a[href$="?d=xfreehd.com"]{background-image:url('https://favico.be/16/xfreehd.com');}
a[href$="?d=yahoo.com"]{background-image:url('https://favico.be/16/yahoo.com');}
a[href$="?d=youtube.com"]{background-image:url('https://favico.be/16/youtube.com');}
a[href$="?d=zerohedge.com"]{background-image:url('https://favico.be/16/zerohedge.com');}

If you can aggregate the top 50 domains of the last months, I will gladly update the above code.

What do you think?

0
1

[–] VoatSearch 0 points 1 points (+1|-0) ago 

I can't support any solution that requires ongoing periodic changes to the CSS. If you can figure out a way of handling unknown domains whenever they appear it would be worth looking at.

0
1

[–] netk6 0 points 1 points (+1|-0) ago 

Thank you for sharing this valid concern. I'm working this problem but can't provide any solution