aboutsummaryrefslogtreecommitdiff
path: root/content/posts/2024-06-02-dk-sort.md
blob: 2933be2ddeb0f755b3c125ea0ec72990ca98a5cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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."