Chrome: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== Extensions ==
== Extensions ==
* [http://appsweets.net/wasavi/ wasavi] — vi editor for any web page.
* [http://appsweets.net/wasavi/ wasavi] — vi editor for any web page.
* [https://github.com/1995eaton/chromium-vim cVim] — Vim bindings for Google Chrome.


== How-To ==
== How-To ==

Revision as of 21:16, 11 February 2016

Extensions

  • wasavi — vi editor for any web page.
  • cVim — Vim bindings for Google Chrome.

How-To

Manually install an extension

  • Download the extension source (for instance from GitHub)
  • In Chrome, Go to More tools → extensions, and click the checkbox Developer mode.
  • Click on Load unpacked extension..., and point it to extension source directory (containing manifest.json.

Fix ZScaler authentication - import ZScaler SSO cookie

ZScaler is a corporate filtering proxy. Users must login with Single-Sign-On to get access to internet resources. If authentication fails in Chrome but, say, works in Internet Explorer, one can import the authentication cookie in Chrome/Chromium and hence skip the failing authentication step (from calebcoffie.com).

  • First, go to C:\Users\%username%\AppData\Local\Microsoft\Windows\Temporary Internet Files, and locate the zscaler cookie, which is named cookie:%username%@gateway.zscaler.net.
  • Open the cookie in WordPad (or copy/paste into WordPad). You should have something like this, where the XXXXXXXXXXXXXXXXXXX are the actual cookie (secret) value:
_sm_au_c
XXXXXXXXXXXXXXXXXXX
gateway.zscaler.net/
...
...
...
*
_sm_up_c
XXXXXXXXXXXXX
gateway.zscaler.net/
...
...
...
  • In Chrome, create a new cookie using extension EditThisCookie, and import both cookies above using the templates below, where the cookie value must be replaced with the one found above:
{
    "domain": ".gateway.zscaler.net",
    "hostOnly": false,
    "httpOnly": false,
    "name": "_sm_au_c",
    "path": "/",
    "secure": true,
    "session": true,
    "storeId": "0",
    "value": "XXXXXXXXXXXXXXXXX",
    "id": 1
}
{
    "domain": ".gateway.zscaler.net",
    "hostOnly": false,
    "httpOnly": false,
    "name": "_sm_up_c",
    "path": "/",
    "secure": true,
    "session": true,
    "storeId": "0",
    "value": "XXXXXXXXXXXX",
    "id": 1
}