Set a cookie to tell your websites that you're a developer. Use with google analytics to avoid tracking internal traffic..
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.
You can Follow the below Step By Step procedure to install the Developer Cookie Chrome Extension to your Chrome Web browser.
It is the Developer Cookie Chrome extension download link you can download and install Chrome Browser.
Tags: New Subdomain , Date Check , New Browsing Session , Set Cookie , Developer Cookie Icon , Display Secure Data , Cookies Set , Extension Enabled , Developer Cookie , Insert Google Analytics Code , Show Control Panel , New Developer Cookie , Google Analytics , Cookie Set ,
招聘不上手,呼叫不开口
Prints to the console all cookie setting actions to allow the debugger to check if a certain cookie is being changed/deleted!
Cookie Manager. Support Edit Cookie, Add Cookie, Delete Cookie and Search Cookie, Export/Import Cookies.
Developer tool to bulk set cookies from a standard cookie header string
This is Cookie Chapter
Simple yet powerful Cookie Editor that allow you to quickly create, edit and delete cookies without leaving your tab.
This simple app is designed for one purpose - to set a single cookie for multiple domains.
Removes most cookie banners and declines consent by omission
A powerful and easy-to-use Cookie Editor.
Based on (cookie/session), you can use this plugin to share your account to other users for temporary login (no password required).