I created a simple utilitarian project recently in the form of a TamperMonkey script.

So what TamperMonkey? The answer is that it is a browser extension that executes a little bit of user-defined Javascript on certain webpages.

The script I developed is just a simple way to add some custom links onto every Wikipedia page.

As you can see from the screen shot below, two extra links appear on the Wikipedia Page, one linking to YouTube videos (about Mozart, in this case) and one linking to another online encyclopedia article.

For some background information about this type of project, and why I like to do stuff like this, please see the following two webpages:

(But the gist is because I think programming is a good way to practice keeping our creative juices flowing.)

The code for the script is simple enough:

// grab the name of the wiki article we are on
    var x = document.getElementById("firstHeading");
    var article = x.innerText;

    // there is a "donate" button on the page, which has an ID of "n-sitesupport"
    // find that element, and add our links right below it
    var ul = document.getElementById("n-sitesupport").parentElement;

    var li1 = document.createElement("li");
    li1.innerHTML = '<a  target="_blank" href="https://www.youtube.com/results?search_query=' + article + '">Videos</a>';

    var li2 = document.createElement("li");
    li2.innerHTML = '<a target="_blank" href="https://kids.kiddle.co/' + article + '">Kiddle</a>';

    // add any other links you would like here...

Next Steps