Google Chrome Activity Log for extensions

Google plans to integrate an extension activity log in the company’s Google web browser; the activity log logs what extensions do when they are installed and in the browser.

are quite useful as they extend certain functionality. may change content on websites or in the browser UI, improve privacy, add extra features such as a website monitor or improve downloading functionality.

Tip: check out our list of the best Chrome extensions.

In short: extensions can be quite useful but they may also be misused. display some of the permissions that extensions may require during installation but what extensions actually do is not revealed anywhere.

Developers and with the right skills may analyze extension behavior in detail; regular cannot and that is quite the problem.

Extension Logging in Chrome

chrome activity log extensions

Google implemented a new feature in Chrome Canary, the cutting edge development version of the browser, recently that integrates an extension log in the browser.

The log highlights API calls, local storage access, script injections, and other interactions.

Setup

chrome activity logging

It is necessary to run Google Chrome with a startup parameter to enable the Activity Log for extensions. Run Chrome with –enable-extension-activity-logging to enable the logging functionality.

Windows users may do so in the following way:

  1. Locate the Chrome (Canary) shortcut on the taskbar or in the Start Menu or Desktop.
  2. Right-click on the icon and Properties if the option is displayed. Right-click on the Chrome Canary item again if Properties is not displayed, and Properties from the second context menu then.
  3. Append –enable-extension-activity-logging to the Target field and make sure that you leave a space between the existing String and the startup parameter, e.g. “C:UsersMartinAppDataLocalGoogleChrome SxSApplicationchrome.exe” –enable-extension-activity-logging
  4. Click ok.
Also Read:  How to delete your personal data from your Google profile

Chrome runs with the parameter after the operation. An experimental flag is not available yet.

Usage

view activity log chrome

The functionality is added to the extension’s page in the Chrome extension manager.

  1. Just load chrome://extensions/ in Google Chrome to display all installed extensions.
  2. Click on the Details link next to the extension that you are interested in.
  3. Select the “View Activity Log” option on the page.

Chrome displays the activity history by . Each entry is listed with its type, e.g. content_script, api_call, or dom_access, the name of the function or file, the number of events of that type, and a trashcan icon.

You may switch to Real-time to display the activity as it happens. Another core difference between history and real-time is that history displays merged records while the real-time listing individual records.

History displays each api call, dom access or injection once; a click on the number if recorded events displays the domains the activity happened on.

The Activity Log features a search at the top. You may use it to filter by URLs or API calls.

Closing Words

The integration of an extension Activity Log in Google Chrome is a welcome addition. While it is too early to tell if it will remain available, it is very useful for extension developers and users who want to know what extensions do in detail.

It is easy enough to spot script injections this way, access to local files, or other activity. You may verify what an extension does in detail using the activity log.

I’d like to see a merged view of all installed extensions and not just a view that focuses on individual extensions.

You might also like More from author

Comments are closed.