Comcast Boycotter

Warns users they are accessing websites owned by Comcast.

Τι είναι το Comcast Boycotter;

Το Comcast Boycotter είναι ένα πρόσθετο Chrome που αναπτύχθηκε από τον http://coperiansoftworks.com, και η κύρια λειτουργία του είναι "Warns users they are accessing websites owned by Comcast.".

Στιγμιότυπα Επέκτασης

screenshot

Λήψη αρχείου CRX της επέκτασης Comcast Boycotter

Λήψη αρχείων επέκτασης Comcast Boycotter σε μορφή crx, εγκατάσταση των επεκτάσεων Chrome μη αυτόματα στον περιηγητή ή κοινοποίηση των αρχείων crx με φίλους για εύκολη εγκατάσταση των επεκτάσεων Chrome.

Οδηγίες Χρήσης της Επέκτασης

                        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
}