Wykop highlighter

Script description

A very simple script (user.js) that adds a border to news from selected domains and changes the background color of post if they belong to a specific tag.

screen

As you can see in the screenshot, post linking to youtube.com is highlighted, while results from the #nauka and #zdrowie categories have their own background colors. If a result belonged to a monitored tag and came from a specified domain, it would be framed and have its own background color.

Editing domains and tags

The list of domains and watched tags can be easily edited; it is a plain text file. You can assign a unique color to each domain and tag (though this is not required). Since the script fetches the list of domains from an external source, the easiest way is to fork the project on GitHub, edit the list of domains and tags, and change the URL path in the script to point to the file containing your list. But you can just as easily upload the list to your own server.

Installation

You’ll need a plugin like Tampermonkey for Firefox or Chrome to use this. After installing the plugin and going to wykop.pl, the plugin will ask if the script can connect to an external site (the script will fetch a list of domains and tags to mark) so you’ll need to give your consent.

Link to the GitHub repository