tinynotes

To make a bookmarklet for “deleting” cookies of the current website and refresh it with one click you can paste this code in the URL property of a bookmark.

javascript: (function() {
    var cookies = document.cookie.split("; ");
    for (var c = 0; c < cookies.length; c++) {
        var d = window.location.hostname.split(".");
        while (d.length > 0) {
            var cookieBase = encodeURIComponent(cookies[c].split(";")[0].split("=")[0]) + "=; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain=" + d.join(".") + " ;path=";
            var p = location.pathname.split("/");
            document.cookie = cookieBase + "/";
            while (p.length > 0) {
                document.cookie = cookieBase + p.join("/");
                p.pop();
            }
            d.shift();
        }
    }
    location.reload(true);
})();

I don't know whether there is a simpler way to get all your hashtags you used in your write.as blog. They are present in the content of course, but also as a link that gets all the instances of the hashtag like: https:yoursite.as/tag:*. So instead of looking to all the tags in your content, you could search for these tag-links on the blog. I found a way to get the total sitemap with 'wget'.

Lees verder...

As far as I know there is no automatic way to keep a table of contents of your blog and present it in a separate page or in your “about” page. So I made a curl-script to get the titles and the links in a html or markdown file. So you have to go to your terminal and make your own command for your blog like this.

Lees verder...

Mistynotes uses this css for write.as. You can use it in your own blog. See the write.as guide for how to do that. (Updated: 07/05/2021.)

Lees verder...

for post@peterskantoor.nl

Lees verder...

Because I have a lot of bookmarks, ordered in folders and subfolders, it is not easy for me to find the bookmark and activate it. I found this little tip for using firefox. At the end of the article it states:

Lees verder...

The solution could be a switch, a Keyboard-Video-Mouse switch, or a KVM-switch. Actually I just need a keyboard and mouse for two computers.

Lees verder...

I have long used Windows, and I was used to type alt-codes to get special symbols. I don't have a numeric keyboard, and I don't have Windows anymore, so I cannot type <alt> 137 for instance to get ë.

Lees verder...

You could place them at the end of your blog as list of references.

Lees verder...