Google chrome 'chrome://view-http-cache' vs 'chrome://cache/' - google-chrome

The network traffic monitoring is driving me crazy. All I want to be able to track all the requests from different chrome extensions. For this I tried various approaches:
webRequest API: This captures only the content script requests
devtool API: This works only if devtool is opened and selenium and devtool can not work at a time(https://sites.google.com/a/chromium.org/chromedriver/help/devtools-window-keeps-closing), so can not use this approach as well.
Selenium 2 with proxy: This works well but I don't want to use third party library for this small task
Then I have 'chrome://view-http-cache/' and 'chrome://cache/': I googled around this to get good understanding of it. I want to know how google chrome populate these and what stuff they have with this. Where I can read more about these two services ? What is the difference between these two ?

Related

Is it possible to display Extension information on Google Chrome Mac TouchBar? if not, what about network calls on the touchbar?

I am trying to come up with a way of having the touch bar on my mac display the network calls being made on the page I am navigating, I already have an extension that captures the exact network calls i need so If it is easier to just have an extension pass information to the mac touch bar then that would be even better.
I already tried using BetterTouchTool without luck.
No, the Chrome extension platform does not have TouchBar support. You may be able to accomplish your goal by creating a native app in Objective C or Swift and using the nativeMessaging API to share data between your extensions and application.

REST Console Extension in Chrome

I am using REST Console.
I have to add multiple attachment with different parameter key. But I am not able to find option for this.
Is there is any other Extension available?
You have a couple other options:
Chrome:
Postman - REST Client
Advanced REST client
Firefox:
RESTClient
REST Easy (thanks to Nathan)
See if some of them meet your needs
I would definitely suggest DHC for chrome. For quite some time now I am using it on daily basis and I can say it works just fine and have features like saving entire requests under specific project -> method.
Here's demo: https://www.sprintapi.com/dhcs.html
Here's google chrome store link: https://chrome.google.com/webstore/detail/dhc-resthttp-api-client/aejoelaoggembcahagimdiliamlcdmfm?hl=en
If you just search for REST API console within google store you'll find many more.
All the best

Chrome extension or chrome app?

I would like to create an extension or app for the Chrome browser which would require access to a user's Google Calender (for creating new appointments).
I am unsure of which technology to better research and use, Chrome extensions or apps. My "app" wouldn't need much of a GUI, so I'm leaning towards extension — but I don't know if this would pose any difficulties for accessing a user's Google Calender to add an event.
Anyone one have any idea which technology is best for this situation, and why? Thanks!
Either, or... Go with an extension if you'd like.
I assume you've looked at the API reference?
https://developers.google.com/google-apps/calendar/
From there, I'd imagine you'd just need OAuth to authenticate the user. Here's the JS library:
https://code.google.com/p/google-api-javascript-client/
There are pros/cons of each types, apps or extensions.
Apps
If you would like to create a client application of Google Calendar which has many rich GUI components, this type will become a better solution.
In addition, Chrome apps can communicate with many hardware devices and other servers. Of course, your Chrome app can become as a server (that is, your app can open a server socket and accept a request from other client apps).
Chrome apps can be executed not depending on your Chrome Web browser. That is, Chrome apps cannot access to a context of your Chrome Web browser.
Probably, you don't want to get the pros above, I guess...
Extensions
If you would like to create a small UI for posting your schedule to Google Calendar, this type will become a better solution.
In addition, Chrome extensions can access to a context of your Chrome Web browser. That is, your extension can get page contents of each tab and inject your CSS and/or JS code. For example, your extension will get a URL of some opened tab and include it in a body of the posted schedule.
Chrome extensions completely depend on your Chrome Web browser. That is, your extension cannot execute independently.
Also, generally, high cost will be needed to develop Chrome apps than Chrome extensions. As the result, you should choose Chrome extensions, I believe.

Want to monitor Https traffic from google chrome

I want to monitor Https traffic going out from google chrome.
Is there any possibility to write something in C++ for similar purpose, like some hook.
When I tried to hook in ws2_32::WSASend API and load my dll in chrome, it is causing crash. It look like chrome protects hooking of Windows API. I am more interested in APIs not applications like fiddler which can show Https traffic.
I have also seen google's native-client option but does not think it is useful because any extension need to deploy using google web store which is not a possibility in my case.

Chrome Extensions accessing header information

I am on a mission to expand my knowledge and create an extension for chrome similar to how firephp works. I want to integrate with my existing logging and debugging api within my framework and I want to be able to send these messages to the console. Nothing really robust to start with just a way to send debug messages to the chrome console from php.
The plan is to send the messages via the headers and have the extension read those headers and interpret them. I've been trying to find information on accessing the response headers and can't find any examples. Some of the research has led me to possibly having to develop an NPAPI plugin to be able to accomplish this.
Before traveling down a dead end path I wanted to get the communities opinion here on which path I should be taking to find a solution.
Chrome cannot currently do this, but Google is working on it. A preliminary and incomplete implementation is in the development version of Chrome, or in Chrome Canary.
http://code.google.com/chrome/extensions/experimental.webRequest.html
onHeadersReceived
http://dev.chromium.org/developers/design-documents/extensions/notifications-of-web-request-and-navigation
You can track progress here.
http://crbug.com/50943
The web request api is now in stable and can be used to access header events.
https://developer.chrome.com/extensions/webRequest.html
Here is an extension that does what you are trying to do. It uses cookies to communicate, from what I can tell.