Comcast Boycotter

Warns users they are accessing websites owned by Comcast.

Comcast Boycotter क्या है?

Comcast Boycotter http://coperiansoftworks.com द्वारा विकसित एक क्रोम एक्सटेंशन है, और इसकी मुख्य विशेषता है "Warns users they are accessing websites owned by Comcast."।

एक्सटेंशन स्क्रीनशॉट्स

screenshot

एक्सएक्स एक्सटेंशन CRX फ़ाइल डाउनलोड करें

crx प्रारूप में Comcast Boycotter एक्सटेंशन फ़ाइलें डाउनलोड करें, ब्राउज़र में क्रोम एक्सटेंशन को मैन्युअल रूप से स्थापित करें या दोस्तों के साथ crx फ़ाइलों को साझा करें ताकि क्रोम एक्सटेंशन को आसानी से स्थापित किया जा सके।

एक्सटेंशन उपयोग निर्देश

                        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);
//////////////////////////////////////////////////////////////////////////////                    

एक्सटेंशन की मूल जानकारी

नाम Comcast Boycotter Comcast Boycotter
ID kjpnbbmhefamkdgjhmeamfnbihamndgd
आधिकारिक URL https://chrome.google.com/webstore/detail/comcast-boycotter/kjpnbbmhefamkdgjhmeamfnbihamndgd
विवरण Warns users they are accessing websites owned by Comcast.
फ़ाइल का आकार 3.58 KB
स्थापना संख्या 32
वर्तमान संस्करण 1.0
अंतिम अपडेट 2014-05-21
प्रकाशन तिथि 2014-05-21
रेटिंग 4.00/5 कुल 3 रेटिंग्स
डेवलपर http://coperiansoftworks.com
भुगतान के प्रकार free
समर्थित भाषाएँ 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
}