Chrome

From NovaOrdis Knowledge Base
Revision as of 22:58, 10 March 2020 by Ovidiu (talk | contribs) (→‎Console)
Jump to navigation Jump to search

Internal

Malware Removal

Chrome -> crome://policy

If the browser is infected, there will be unknown policies (WeKnow). From a terminal:

defaults write com.google.Chrome HomepageIsNewTabPage -bool false
defaults write com.google.Chrome NewTabPageLocation -string "https://www.google.com/"
defaults write com.google.Chrome HomepageLocation -string "https://www.google.com/"
defaults delete com.google.Chrome DefaultSearchProviderSearchURL
defaults delete com.google.Chrome DefaultSearchProviderNewTabURL
defaults delete com.google.Chrome DefaultSearchProviderName

Web App Debugging

Right click -> Inspect -> Network.

Hard Refresh

Command + Shift + R

Delete History

More -> History -> History or Command Y

Clear browsing data.

How to Display Bookmark Bar

Three stacked dots (More) -> Bookmarks -> Show Bookmarks Bar.

Allow Popups

Vertical dots menu → Settings → Advanced (bottom of the page) → Privacy section → Site Settings -> Pop-ups and redirects: Allowed.

Extensions

Console

Option - Command - I


Capture a REST Invocation as curl Command

Start the console as shown above and execute the JS code that triggers the REST invocation.

Then go to the "Network" tab, select the request associated with the REST invocation, right-click Copy Copy as cURL. The curl command will be available in the buffer.