Comcast Boycotter

Warns users they are accessing websites owned by Comcast.

What is Comcast Boycotter?

Comcast Boycotter is a Chrome extension developed by http://coperiansoftworks.com, and its main feature is "Warns users they are accessing websites owned by Comcast.".

Extension Screenshots

screenshot

Download Comcast Boycotter Extension CRX File

Download Comcast Boycotter extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        In order to ensure Net Neutrality, this tool warns users before accessing sites owned or operated by Comcast, giving them the opportunity to boycott.

This extension is completely open-sourced and you are encouraged to redistribute it in any way you like. However, the extension owner makes no guarantees concerning the code or anyone who may chose to redistribute.




This extension is comprised of two files:


Manifest.json:

//////////////////////////////////////////////////////////////////////////////
{
	"name":   "Comcast Boycotter",
	"version":  "1.0",
	"description":  "Warns users they are accessing websites owned by Comcast.",
	"background":{
		"persistent": true,
		"scripts": ["interrupt.js"]
	},
	"permissions":[
		"webRequest", "webRequestBlocking", "storage","*://*/"
	],
	"manifest_version": 2
}
//////////////////////////////////////////////////////////////////////////////


Interrupt.js:

//////////////////////////////////////////////////////////////////////////////
(function(){
        onBeforeReqHandler = function(details){
                var message = "The url " + details.url.split('?')[0] + " is owned by Comcast."
                message += "\rAre you sure you want to navigate to this page?"
                return {cancel: !confirm(message)}
        };
        onBeforeReqPartialHandler = function (details) {
            var message = "The url " + details.url.split('?')[0] + " is partially owned by Comcast."
            message += "\rAre you sure you want to navigate to this page?"
            return { cancel: !confirm(message) }
        };


        chrome.webRequest.onBeforeRequest.addListener(
            onBeforeReqHandler.bind(this),
            {
                urls: [
                    "*://*.telemundo.com/*",
                    "*://*.universalstudios.com/*",
                    "*://*.esquire.com/*",
                    "*://*.bravotv.com/*",
                    "*://*.chillertv.com/*",
                    "*://*.cnbc.com/*",
                    "*://*.comcast.com/*",
                    "*://*.comcastsportsnet.com/*",
                    "*://*.eonline.com/*",
                    "*://*.focusfeatures.com/*",
                    "*://*.ivillage.com/*",
                    "*://*.msnbc.com/*",
                    "*://*.nbc.com/*",
                    "*://*.nbcnews.com/*",
                    "*://*.nbcsports.com/*",
                    "*://*.nbcuni.com/*",
                    "*://*.pictureboxfilms.com/*",
                    "*://*.syfy.com/*",
                    "*://*.telemundopr.com/*",
                    "*://*.universalstudios.com/*",
                    "*://*.usanetwork.com/*",
                    "*://*.weather.com/*",
                    "*://*.comcast.net/*",
                    "*://*.illuminationentertainment.com/*"
                ],
                types: ["main_frame"]
            },
            ["blocking"]
        );
        chrome.webRequest.onBeforeRequest.addListener(
            onBeforeReqPartialHandler.bind(this),
            {
                urls: [ "*://*.hulu.com/*"],
                types: ["main_frame"]
            },
            ["blocking"]
        );
}).call(this);
//////////////////////////////////////////////////////////////////////////////                    

Extension Basic Information

Name Comcast Boycotter Comcast Boycotter
ID kjpnbbmhefamkdgjhmeamfnbihamndgd
Official URL https://chrome.google.com/webstore/detail/comcast-boycotter/kjpnbbmhefamkdgjhmeamfnbihamndgd
Description Warns users they are accessing websites owned by Comcast.
File Size 3.58 KB
Installation Count 32
Current Version 1.0
Last Updated 2014-05-21
Publish Date 2014-05-21
Rating 4.00/5 Total 3 Ratings
Developer http://coperiansoftworks.com
Payment Type free
Supported Languages en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Comcast Boycotter",
    "version": "1.0",
    "description": "Warns users they are accessing websites owned by Comcast.",
    "background": {
        "persistent": true,
        "scripts": [
            "interrupt.js"
        ]
    },
    "permissions": [
        "webRequest",
        "webRequestBlocking",
        "storage",
        "*:\/\/*\/"
    ],
    "manifest_version": 2
}