AffectiveNetwork

AffectiveNetwork

How much positive and negative content do you consume on Twitter? Use AffectiveNetwork to check the emotions you see on Twitter!

Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "AffectiveNetwork",
  "description": "How much positive and negative content do you consume on Twitter? Use AffectiveNetwork to check the emotions you see on Twitter!",
  "version": "2.2.1",
  "permissions": [
    "https://twitter.com/*",
    "http://localhost:8000/*",
    "https://affectivenetwork.media.mit.edu/*"
  ],
  "browser_action": {
    "default_icon": "icon.PNG",
    "default_title": "AffectiveNetwork"
  },
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "content_security_policy": "script-src 'self' https://*.wordpress.com https://*.medium.com https://*.vine.co https://*.cdninstagram.com https://*.wsj.net https://*.washingtonpost.com https://*.bwbx.io https://*.vox-cdn.com https://*.buzzfeed.com; object-src 'self'",
  "content_scripts": [
    {
      "matches": [
        "https://twitter.com/*"
      ],
      "js": [
        "main.js",
        "jquery.js",
        "survey.jquery.js",
        "bootstrap-slider.js",
        "surveyjs-widgets.js",
        "surveysAN.js"
      ],
      "css": [
        "bundle.css",
        "survey.css",
        "bootstrap-slider.css"
      ]
    }
  ],
  "homepage_url": "http://affectivenetwork.media.mit.edu/"
}