Set a cookie to tell your websites that you're a developer. Use with Google Analytics to avoid tracking internal traffic.

Latest Version

Version
1.0.4
Update
June 19, 2014
Size
36.39KiB
Developer
Category
Users
851
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Storage
WebNavigation
Tabs
Cookies
Http://*/*
Https://*/*
See more

Developer Cookie Extension

From any website, simply click on the Developer Cookie Icon in your browser to set yourself as a developer/team member for that domain. Green means that you are a developer and that cookies will be set for this domain, gray means you are not. This preference is saved and this extension will try to always keep a cookie set for that domain.

The \"name\" and \"value\" of the cookie that gets created can (and should) be customized to be unique to you or your organization.

A list of all of your active domains can be found on the Options page, where domains can be easily added or removed as needed. There is also a button here to clear any cookies that have been saved on your device. Right-click the Developer Cookie Icon in your browser and select \"Options\" to access this page any time. Alternatively, you can find a link to this page in your Extensions manager.


••• How to Use •••

In your scripts, check for this cookie before performing certain actions.

JavaScript example:
- - - - - - - - - - - - - - - - - - - - - - - - - - -
var devCookie = \"ChromeDeveloperCookie=123\";
if (document.cookie.indexOf(devCookie) !== -1) {
// I am a developer
// Show control panel, debug info, etc.
} else {
// I am NOT a developer
// Insert Google Analytics code here, etc.
}
- - - - - - - - - - - - - - - - - - - - - - - - - - -

PHP example:
- - - - - - - - - - - - - - - - - - - - - - - - - - -
$devCookie = @$_COOKIE[\"ChromeDeveloperCookie\"];
if ($devCookie === \"123\") {
// I am a developer
// Show control panel, debug info, etc.
} else {
// I am NOT a developer
// Insert Google Analytics code here, etc.
}
- - - - - - - - - - - - - - - - - - - - - - - - - - -


••• Notes About Cookies •••

On your next visit to any of the domains in your list, a new developer cookie will be created if one does not already exist (assuming this extension is enabled). New cookies are set to expire after 30 days. To keep your cookies up-to-date, a check is done when this extension is started (often at the opening of a new browsing session) and the expiration date of all active domains is renewed. However, for many reasons it is possible that even with this extension enabled you could load the page as a public user (once every 30 days or as often as your cookies are cleared). These cookies are very helpful, but please do not rely on this method of identification to be bulletproof.

Activating a domain applies to all pages on that domain, so clicking the icon while viewing any page on \"http://www.example.com/\" will cause your cookie to be set for all of the following:

- http://www.example.com/page1.html
- http://www.example.com/subfolder/page2.html
- http://example.com/page1.html
- and so on...

However, cookies set for \"example.com\" will NOT be present on \"beta.example.com\" and vice versa. Each new sub-domain can be added or removed with a single click.

WARNING: This method of identification is not secure and should not be used to replace a user log-in system. Do not display secure data based on this cookie.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx",\t"manifest_version": 2,\t\t"name": "Developer Cookie",\t"short_name": "DevCookie",\t"description": "Set a cookie to tell your websites that you're a developer. Use with Google Analytics to avoid tracking internal traffic.",\t"version": "1.0.4",\t\t"permissions": [ "storage", "webNavigation", "tabs", "cookies", "http://*/*", "https://*/*" ],\t"icons": {\t\t"16": "images/icon16.png",\t\t"19": "images/icon19.png",\t\t"48": "images/icon48.png",\t\t"128": "images/icon128.png"\t},\t"options_page": "options.html",\t"browser_action": {\t\t"default_icon": "images/icon19-gray.png",\t\t"default_title": "Set Developer Cookie"\t},\t"background": { "scripts": ["background.js"], "persistent": false }}
Read more

Similar Extensions

icon

ChocoChip - Cookie Manager Extension · Developer Tools 851 33 ★ 689KiB

icon

Developer search tool Extension · Productivity 851 4 ★ 123KiB

icon

Almost Native Cookies Manager Extension · Developer Tools 851 2 ★ 74.58KiB

icon

Cookie Boss Extension · Developer Tools 851 5 ★ 233KiB

icon

DevTools Classes & Atributes panel Extension · Developer Tools 851 4 ★ 12.75KiB

icon

Dev Helper Extension · Developer Tools 851 8 ★ 90.47KiB

icon

Web Injector Extension · Developer Tools 851 8 ★ 152KiB

icon

Enhanced Developer Console Extension · Developer Tools 851 1 ★ 15.69KiB

icon

Check my cookies Extension · Developer Tools 851 8 ★ 56.29KiB

icon

Examine Offline Data (Cookies, HTML5 Storage) Extension · Developer Tools 851 5 ★ 33.75KiB

icon

Advanced Dev Tools Extension · Developer Tools 851 1 ★ 891KiB

icon

Awesome Cookie Manager Extension · Developer Tools 851 125 ★ 84.24KiB

icon

FrustratedTech - Server Admin Tool Extension · Developer Tools 851 5 ★ 58.6KiB

icon

Set cookie for several domains Extension · Developer Tools 851 4 ★ 25.23KiB

icon

Dev Playground Extension · Developer Tools 851 2 ★ 288KiB

icon

Developer pages Extension · Developer Tools 851 5 ★ 7.09KiB

icon

ServerHealers SysAdmin Tools Extension · Developer Tools 851 11 ★ 31.91KiB

icon

Cookie Monitor Extension · Developer Tools 851 5 ★ 22.28KiB

icon

JScript tricks Extension · Developer Tools 851 50 ★ 340KiB

icon

MILK — Cookie Manager Extension · Developer Tools 851 27 ★ 751KiB

icon

Xframe Assassin Extension · Productivity 851 4 ★ 666KiB

icon

Android Developer Improvements Extension · Developer Tools 851 3 ★ 122KiB

icon

Console Injector Extension · Developer Tools 851 12 ★ 20.4KiB

icon

Cyber Web Tools Extension · Developer Tools 851 6 ★ 340KiB

User reviews

icon

Shafiq al-Shaar (ID: 000000bf423b2869) Voted 5 ★ - Updated 08/16/2017 Worked perfectly. I love you.

icon

Jean Sweeny (ID: 0000004518f510e8) Voted 5 ★ - Updated 02/04/2017 Great product to clear and reset cookies

icon

Michael Blair (ID: 000000473ef1a347) Voted 5 ★ - Updated 06/30/2015 This extension is very useful and is much easier than setting cookies using other extensions.

icon

Pranav Kaistha (ID: 0000005d06279d19) Voted 5 ★ - Updated 03/10/2015 Works great!