ireadit

A browser extension that hides the comment section of link posts on reddit and hacker news if the article has not been read.


ireadit

/

ireadit

/

manifest.json

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
{
  "name": "ireadit",
  "short_name": "ireadit",
  "version": "0.1.0",
  "description": "A browser extension that hides the comment section of link posts on reddit and hacker news if the article has not been read.",
  "homepage_url": "https://octobanana.com/software/ireadit",
  "manifest_version": 2,
  "permissions": ["history"],
  "background":
  {
    "scripts": ["background.js"]
  },
  "content_scripts":
  [
    {
      "matches": ["https://news.ycombinator.com/item?id=*"],
      "js": ["hackernews.js"]
    },
    {
      "matches": ["https://old.reddit.com/r/*/comments/*"],
      "js": ["reddit-old.js"]
    },
    {
      "matches": ["https://i.reddit.com/r/*/comments/*"],
      "js": ["reddit-old.js"]
    },
    {
      "matches": ["https://www.reddit.com/r/*/comments/*/.compact"],
      "js": ["reddit-old.js"]
    },
    {
      "matches": ["https://www.reddit.com/*"],
      "js": ["reddit.js"]
    }
  ]
}
Back to Top