Archive for the ‘Chrome’ Category
Posted by jpluimers on 2025/05/02
Quite a while ago, Chrome moved from a structure based on “Current Session“, “Current Tabs“, “Last Session” and “Last Tabs” into “Session_#################” and “Tabs_#################” stored in a “Sessions” folder (and similar migrations for other state and configuration files).
The numbers in the “Session_*” and “Tabs_*” files are time stamps of those sessions, for instance one needs to figure out what the “13310808970819630” in “Session_13310808970819630” and “Session_13310808970819630” means.
Lot’s of web-pages with tips and tricks around the old structures are still around, often surfacing high in Google Search results.
I was interested in a particular trick to export Google Chrome browsing history and had a hard time figuring out the easiest solution.
Read the rest of this entry »
Posted in Apple, Batch-Files, Chrome, Chrome, Database Development, Development, Google, JavaScript/ECMAScript, Mac OS X / OS X / MacOS, NirSoft, Polyglot, Power User, Scripting, SQLite, Web Browsers, Windows, Windows 10, Windows 11 | Tagged: define | Leave a Comment »
Posted by jpluimers on 2025/04/29
I found [Wayback/Archive] DB Browser for SQLite via [Wayback/Archive] In z’n leren frakske | Tech45 Podcast (thanks [Wayback/Archive] Toon Van de Putte (@toonvandeputte)!).
It is a standalone reasonably sized database browser for the single-process SQLite database (which is itself a file storage replacement for highly table structured data, see below).
With SQLite gaining more and more popularity in standalone application usage (you can even host it inside a web browser session!), I bump in it more often to fix things (more on that in a future blog post), which means that besides the standard console support in SQLite, having a versatile browser is really useful.
DB Browser for SQLite, or in short sqlitebrowser, fulfills that need better than I expected. It’s cross-platform so it works on Mac OS, Windows and Linux (and sort of on WSL2 on Windows, see links below).
Hopefully I can show you how I used it in future blog-posts. For now, and for my link archive, below are just some links to get started.
Oh and the comment: as always with files containing structured data that is randomly accessed you should be really careful when opening them over file-shares or virtual drives like cloud storage.
Read the rest of this entry »
Posted in Chrome, Chrome, Database Development, Development, Google, Power User, Software Development, SQLite, Web Browsers | Tagged: 2084, 2142, 2209, 4689, 5053, 938, SQLite | Leave a Comment »
Posted by jpluimers on 2025/03/14
Chrome warned me of a list of extensions that it thought were unsupported pointing me towards [Wayback/Archive] Install and manage extensions – Chrome Web Store Help: Unsupported extensions.
It included ones important to me like [Wayback/Archive] Pushbullet – Chrome Web Store and [Wayback/Archive] ClearURLs – Chrome Web Store.
My full local list was at the bottom of chrome://extensions/ where you have to both “keep it” to get them re-installed in the “This extension was turned off because it is no longer supported” state, and after keeping them switch them on plus conforming the switch on to be able to use them.
A quick search revealed this likely has to do with Manifest V2 support: [Wayback/Archive] Why is my Chrome saying the Pushbullet Extension is no longer supported? : PushBullet (that post was 9 months ago, so it looks Chrome is spreading the nagging period over a long time).
This means I need to find a Chromium based browser that plans to support Manifest V2 for a long time. For now Brave indicates that it wants to: [Wayback/Archive] What Manifest V3 means for Brave Shields and the use of extensions in the Brave browser | Brave
Some however think Brave won’t: [Wayback/Archive] If it’s chromium based, they will need to remove manifest v2 at some point… | Hacker News
Read the rest of this entry »
Posted in Chrome, Chrome, Chromium, Google, Power User, Web Browsers | Tagged: 2977 | Leave a Comment »
Posted by jpluimers on 2025/01/28
Posted in Chrome, Development, Firefox, JavaScript/ECMAScript, Opera, Power User, Safari, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »
Posted by jpluimers on 2024/08/27
I put the proper Bookmarklet wrapper around the functions from Bookmarklet for Archive.is to navivate to the canonical link (because especially Firefox needs them):
An immediately invoked function that returns no value or an expression preceded by the void operator will prevent the browser from attempting to parse the result of the evaluation as a snippet of HTML markup:
javascript:(function(){
//Statements returning a non-undefined type, e.g. assignments
})();
It means they now have become these:
-
Archive.is: navigate canonical URL
javascript:(function(){location=document.querySelector('link[rel="canonical"]')?.href})();
-
Archive.is: prompt canonical URL
javascript:(function(){prompt("Anchor",document.querySelector('link[rel="canonical"]')?.href)})();
--jeroen
Read the rest of this entry »
Posted in archive.is / archive.today, Archiving, Bookmarklet, Chrome, Development, Firefox, Internet, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »
Posted by jpluimers on 2024/08/08
Last year I posted about Some JavaScript bookmarklets for WordPress published pages centered around navigation and IDs.
It depended on HighlanderComments to exist in order for getting its .connectURL which contains the canonical blog post URL (i.e. from https://wiert.me it obtains https://wiert.wordpress.com).
Nowadays HighlanderComments does not always exist, but in that case <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://wiert.wordpress.com/xmlrpc.php?rsd"> does exist.
Its’ href value can be obtained by querying document.querySelector('link[rel="EditURI"]').href and truncate it, so I made some conditional code that first tries the HighlanderComments and defers code obtaining it from the link element I mentioned above.
I also added proper Bookmarklet wrappers so the function results don’t leak to the console or Browser (Firefox really does not like Bookmarklets without this wrapper).
javascript:(function(){
//Statements returning a non-undefined type, e.g. assignments
})();
Firefox also dislikes pasting code into the development console.
Code:
Read the rest of this entry »
Posted in Bookmarklet, Chrome, Development, Firefox, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »
Posted by jpluimers on 2024/07/17
The feature reminds me on how archive.today saves content.
Both the zhot and tweetzhot repositories are on my list of tools to try. They might make writing blog posts easier.
They are both based on [Wayback/Archive] puppeteer/puppeteer: Headless Chrome Node.js API
…
Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the
DevTools Protocol. Puppeteer runs
headless by default, but can be configured to run full (non-headless) Chrome or Chromium.
…
It demonstrates headless browser usage and can for instance:
- Generate screenshots and PDFs of pages.
- Crawl a SPA (Single-Page Application) and generate pre-rendered content (i.e. “SSR” (Server-Side Rendering)).
- Automate form submission, UI testing, keyboard input, etc.
- Create an up-to-date, automated testing environment. Run your tests directly in the latest version of Chrome using the latest JavaScript and browser features.
- Capture a timeline trace of your site to help diagnose performance issues.
- Test Chrome Extensions.
Note any headless browser will have some trouble rendering single-page applications.
Repositories:
Read the rest of this entry »
Posted in Chrome, Chrome, Development, Google, JavaScript/ECMAScript, Power User, Puppeteer, Scripting, Software Development, Web Browsers | Leave a Comment »