From ce9a6d33f77fe3c40618d1d96bfa38c54a163eb3 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 2 Jun 2024 20:11:46 -0400 Subject: add posts vim-books, time-to-ditch-chrome, dk-sort, and site-backend --- content/posts/2024-06-02-dk-sort.md | 70 +++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 content/posts/2024-06-02-dk-sort.md (limited to 'content/posts/2024-06-02-dk-sort.md') diff --git a/content/posts/2024-06-02-dk-sort.md b/content/posts/2024-06-02-dk-sort.md new file mode 100644 index 0000000..2933be2 --- /dev/null +++ b/content/posts/2024-06-02-dk-sort.md @@ -0,0 +1,70 @@ +--- +slug: dk-sort +title: "dk-sort Browser Extension" +date: "2024-06-02T12:00:00-04:00" + +pics: + dk-sort: + css: "image" + tip: "dk-sort toolbar." + sources: + - "/files/posts/dk-sort/dk-sort.webp" + - src: "/files/posts/dk-sort/dk-sort.png" + width: 798 + height: 87 +--- + +Last week I released a [browser extension][] for [Firefox][] which sorts +entries in [Daily Kos][] live update articles in chronological order and +adds a sort toolbar. + +[Install Firefox Add-On][addon], [Git Repository][dk-sort] + +[{{< pe-figure "dk-sort" >}}][dk-sort] + +**Background:** Several months ago I created a [bookmarklet][] +(available [here][dk-sort-bookmarklet]) which sorts entries in [Daily +Kos][] live update articles from oldest to newest. Unfortunately the +[bookmarklet][] was difficult for people to use because: + +- Installation required copying minified [JavaScript][] into a text + field, and +- You had to click the [bookmarklet][] after loading a live + update article in order to activate it + +To address these problems, I converted the [bookmarklet][] into a +[browser extension][]. I also added a couple of features during the +convdrsion. + +**Note:** The extension isn't [Firefox][]-specific, but it's unlikely I +will port it to [Chrome][] because [I recommend people ditch +Chrome][ditch-chrome]. + +[dk-sort]: https://github.com/pablotron/dk-sort + "Browser plugin which adds a sort toolbar to Daily Kos live update articles." +[firefox]: https://www.mozilla.org/en-US/firefox/new/ + "Mozilla Firefox web browser." +[daily kos]: https://dailykos.com/ + "Daily Kos" +[hugo]: https://gohugo.io/ + "Hugo static site generator." +[apache]: https://apache.org/ + "Apache web server" +[browser extension]: https://en.wikipedia.org/wiki/Browser_extension + "Web browser extension." +[dk-sort-bookmarklet]: https://pmdn.org/dk-sort.txt + "Browser bookmarklet which sorts entries in Daily Kos live update articles in chronological order." +[javascript]: https://en.wikipedia.org/wiki/JavaScript + "JavaScript scripting language" +[csv]: https://en.wikipedia.org/wiki/Comma-separated_values + "Comma-separate Values file (CSV)" +[addon]: https://addons.mozilla.org/en-US/firefox/addon/dk-sort/ + "Firefox Add-Ons page for dk-sort" +[chrome]: https://www.google.com/chrome/ + "Google Chrome web browser" +[edge]: https://www.microsoft.com/en-us/edge + "Microsoft Edge web browser." +[ditch-chrome]: {{< relref "posts/2024-06-02-time-to-ditch-chrome.md" >}} + "Time to Ditch Chrome" +[bookmarklet]: https://en.wikipedia.org/wiki/Bookmarklet + "Web browser bookmark which contains a brief JavaScript script." -- cgit v1.2.3