The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,995 other followers

Archive for the ‘Chrome’ Category

browser – Clearing old browsing data in Chrome instead of newer data – Super User

Posted by jpluimers on 2020/06/25

[WayBack] browser РClearing old browsing data in Chrome instead of newer data РSuper User had a few possibilities, but eHistory disappeared from the Chrome store (apparently due to some unknown violation), so the way that works best now is to hack the History database which is a SQLite file as mentioned in

[WayBack]¬†How can I delete all web history that matches a specific query in Google Chrome – Super User:¬†For literal values of “query”…You can even query your Chrome history using SQL. (Firefox too: see below. Of course, the appropriate file path will have to be changed).

If you really want you can hack the history frame chrome://history-frame/: [WayBack] How can I delete all web history that matches a specific query in Google Chrome РSuper User

–jeroen

Posted in Chrome, Database Development, Development, Google, Power User, Software Development, SQL | Leave a Comment »

GitHub – kzahel/web-server-chrome: An HTTP Web Server for Chrome (chrome.sockets API)

Posted by jpluimers on 2020/06/01

Cool: [WayBack] GitHub – kzahel/web-server-chrome: An HTTP Web Server for Chrome (chrome.sockets API)

This allows you to develop HTTP applications that live in Chrome:

[Archive.is1/Archive.is2] Web Server for Chrome РChrome Web Store: A Web Server for Chrome, serves web pages from a local folder over the network, using HTTP. Runs offline.

Of course you could to python -m SimpleHTTPServer 8888 or python -m http.server 8888, but this runs within chrome and can be used from inside JavaScript projects.

Features

  • serve local files
  • configure listening port
  • configure listening interface (e.g. localhost or all interfaces)
  • custom http handlers possible
  • websocket support available
  • works nice with chrome.runtime.onSuspend
  • options for autostart, start in background, etc etc.
  • handles range requests, HEAD, etc
  • options for CORS
  • optional PUT, DELETE request (for upload files)
  • sets MIME types
  • can render directory listing
  • See relevant options:¬†https://github.com/kzahel/web-server-chrome/blob/master/polymer-ui/options.js

Via¬†[WayBack] This is super useful: A# web #server that runs in #Chrome! Makes it super easy to do local web dev without the hassle of setting up a complex back end s… – Jason Mayes – Google+

–jeroen

Posted in Chrome, Development, Google, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Development | Leave a Comment »

Secure Shell – Chrome Web Store

Posted by jpluimers on 2020/05/25

Interesting: Secure Shell РChrome Web Store. But does not work behind an SSH blocking firewall, seem more on that below.

Terminal emulator and SSH client.

Secure Shell is an xterm-compatible terminal emulator and stand-alone ssh client for Chrome. It uses Native-Client to connect directly to ssh servers without the need for external proxies.

Secure Shell is a Beta release and has known bugs.

Please read the FAQ, available here: http://goo.gl/3i5AJ.

You can also exchange feedback in the chromium-hterm mailing list, available here: http://goo.gl/RYHiK.

It is based on [WayBack] GitHub Рchromium/hterm: MOVED: Please use the new libapps repo on chromium.googlesource.com insteadf.

With relays, you can tunnel over SSH. Two relays are on github:

Resources:

–jeroen

via: Secure Shell РChrome Web Store.

Posted in Chrome, Google, Power User | Leave a Comment »

How to read network requests in Chrome for new tab or popup window

Posted by jpluimers on 2020/05/20

Cool feature I discovered from [WayBack] How to read network requests in Chrome for new tab or popup window:

chrome://net-internals/#events

It will immediately show all events from all tabs including networking events.

The red bar at the top has a drop down on the right where you can stop them and perform a few other actions.

During or after capture, you can select relevant requests from the list (through checkboxes) so the right of the pane gets their info (which is a lot: not just the request/response content including all headers and cookies, but also any delegates from extensions and their results).

I got there via a search for chrome view all network requests.

The reason I needed to find out a solution for my WayBackSave.js bookmarklet returning error 400 while the Network tab in the Developer Tools would not show the request at all.

The cause of the problem was that web.archive.org had created 150+ cookies making the web request too large. Deleting the cookies solved the problem.

An excellent set of steps to dig deeper into these problems is [WayBack] 400 Bad Request Error: What It Is and How to Fix It: An in-depth explanation of what a 400 Bad Request Error response code is, including tips to help you resolve this error in your own application.

And it made me find [WayBack] 12 Most Useful Google Chrome Browser chrome:// Commands too which explains all these in more detail:

  1. chrome://flags
  2. chrome://dns
  3. chrome://downloads
  4. chrome://extensions
  5. chrome://bookmarks
  6. chrome://history
  7. chrome://memory
  8. chrome://net-internals
  9. chrome://quota-internals
  10. chrome://sessions
  11. chrome://settings
  12. chrome://sync-internals
  13. to view all the available chrome:// commands, type chrome://about in your chrome browser URL as shown below.

–jeroen

Read the rest of this entry »

Posted in Chrome, Google, Power User | Leave a Comment »

.ZIP URLs (or, Why You Should Block Domains on a TLD That Doesn’t Have Any) | Blue Coat

Posted by jpluimers on 2020/04/17

Reminder to self:

Some 5 years after the .zip top-level domain got live, I wonder if there are any domains in it.

Currently, it screws up non-quoted searches in browsers like Chrome, so I wonder if¬† this still holds:¬†.ZIP URLs (or, Why You Should Block Domains on a TLD That Doesn’t Have Any) | Blue Coat

When writing this, there was one domain (nic.zip) and two registrars.

–jeroen

Posted in Chrome, Google, Power User | Leave a Comment »

 
%d bloggers like this: