Botson

Botson

Detect twitter bots in your newsfeed

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Botson",
  "short_name": "Botson",
  "version": "0.3.0",
  "manifest_version": 2,
  "description": "Detect twitter bots in your newsfeed",
  "homepage_url": "http://botson.net/",
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "browser_action": {
    "default_icon": "icons/icon48.png",
    "default_title": "Botson",
    "default_popup": "popup/popup.html"
  },
  "background": {
    "scripts": [
      "background/lib/jquery.min.js",
      "background/lib/oAuth.js",
      "background/lib/sha1.js",
      "background/lib/twitter.js",
      "background/lib/network.js",
      "background/background.js"
    ],
    "persistent": false
  },
  "permissions": [
    "storage",
    "https://twitter.com/*",
    "https://api.twitter.com/*",
    "https://askbotson.herokuapp.com/*"
  ],
  "content_security_policy": "script-src 'self'; object-src 'self'",
  "content_scripts": [
    {
      "matches": [
        "https://twitter.com/*"
      ],
      "css": [
        "content-scripts/inject.css"
      ]
    },
    {
      "matches": [
        "https://twitter.com/*"
      ],
      "js": [
        "content-scripts/inject.js"
      ]
    },
    {
      "matches": [
        "https://askbotson.herokuapp.com/auth/*"
      ],
      "js": [
        "content-scripts/auth.js"
      ]
    }
  ]
}