Using Cloudflare’s Browser Rendering APIs for Screenshots / / No Comments I’ve been a Cloudflare fan for a while now, but have mainly focused on their Workers Serverless platform. I was aware, of course, that they did a lot more, but I just haven’t had the time to really look around and explore. Recently I was doing some investigation into "url to screenshot" services and discovered that Cloudflare had this, and not only that, it’s part of a suite of browser APIs that are really freaking awesome. Cloudflare’s Browser Rendering APIs do things like: Get the HTML of a page, but after JavaScript has executed, allowing it to get dynamic HTML Render a PDF to PDF Scrape HTML via selectors Parse out content via JSON schema (I’m absolutely... more → Posted in: JavaScript Tagged with: APIs, browser, Cloudflare's, Rendering, Screenshots, using
Using AI in the Browser for Typo Rewriting / / No Comments Last week I gave a presentation on Chrome’s new built-in AI support (I’ll link the video at the end) and it’s gotten me inspired to consider new and different ways these APIs can be used to enhance the user experience. These APIs still aren’t quite ready for production use, and it’s absolutely possible we may never see these in Safari or Firefox, but the possibility of using them to enhance an application where available is exciting. For today, I want to share an interesting use case that occurred to me a few weeks ago. One of the APIs being built is a translation API (along with a language detection) API as well. In general the idea here is to go from one language... more → Posted in: JavaScript Tagged with: browser, Rewriting, Typo, using
Using Transformers.js for AI in the Browser / / No Comments Two weeks ago I had the pleasure of attending, and speaking at, connect.tech. One of the cooler presentations I saw was from Danielle Maxwell where she discussed usingAI in the browser and introduced me to Transformers.js. I’d heard of this before, but wasn’t quite aware of how easy it was to use. While this isn’t necessarily going to replace a "real" GenAI server, it does feel compelling enough to something to consider. As my readers know, I’ve been playing with Chrome’s attempt to bake this in as well, and while that’s not quite ready for real use yet, Transformers.js feels like something you could play with right now. How to get started? Using... more → Posted in: JavaScript Tagged with: browser, Transformers.js, using
Detect Browser Bars Visibility with JavaScript / / No Comments It’s one thing to know about what’s in the browser document, it’s another to have insight as to the user’s browser itself. We’ve gotten past detecting which browser the user is using, and we’re now into knowing what pieces of the browser UI users are seeing. Browsers provide window.personalbar, window.locationbar, and window.menubar properties, with the shape of { visible : /*boolean*/} as its value: if(window.personalbar.visible || window.locationbar.visible || window.menubar.visible) { console.log("Please hide your personal, location, and menubar for maximum screen space"); } What would you use these properties for? Maybe providing a warning to users... more → Posted in: JavaScript Tagged with: Bars, browser, Detect, JavaScript, visibility
Set Brave as Default Browser from Command Line / / No Comments I’ve been a huge fan of the Brave web browser for years. They’re crypto-friendly, provide native ad-blocking features, and even provide Tor integration. Whenever I set up new systems, I automate Brave as the default browser. You can use the following shell command to set Brave as the default browser: open -a "Brave Browser" --args --make-default-browser Brave has been an excellent browser with a progressive outlook web browsing. I recommend everyone use Brave! The post Set Brave as Default Browser from Command Line appeared first on David Walsh Blog. David Walsh Blog… more → Posted in: JavaScript Tagged with: Brave, browser, Command, default, from, line
Easy Asset Access with the Cloudinary Media Library Browser Extension / / No Comments Readers of my blog will know that I’ve been banging the Cloudinary drum for years. Their awesome media capabilities allow users to optimally deliver images, video, and audio in any format and to any device. Performance, customization, flexibility, optimized delivery… Cloudinary makes media better for everyone. Another aspect of Cloudinary that I like? Their commitment to developing tools to make using their service as convenient as possible. The latest tool is the Media Library browser extension, a simple extension that gives its users access to their media in from within any tab — no need to go to the Cloudinary website itself! If you haven’t tried Cloudinary, here’s... more → Posted in: JavaScript Tagged with: access, Asset, browser, Cloudinary, Easy, Extension, library, Media
Google sets up research grant for finding bugs in browser JavaScript engines – ZDNet / / No Comments Google sets up research grant for finding bugs in browser JavaScript engines ZDNet “JavaScript” – Google News… more → Posted in: JavaScript Tagged with: browser, bugs, Engines, finding, Google, grant, JavaScript, research, Sets, ZDNet
From Tik Tok, UC Browser to Baidu Map: Complete list of 59 China-linked apps banned by India – Hindustan Times / / No Comments From Tik Tok, UC Browser to Baidu Map: Complete list of 59 China-linked apps banned by India Hindustan Times India Bans TikTok and Dozens of Other Chinese Apps The New York Times FULL LIST: TikTok, Helo, UC Browser, ShareIt among 52 Chinese apps banned by Govt India TV News Govt bans 59 Chinese apps including TikTok in India; here’s why and what it means for users The Financial Express India bans 59 Chinese apps including TikTok, UC Browser THE WEEK View Full Coverage on Google News “map app” – Google News… more → Posted in: Interactive Maps Tagged with: apps, Baidu, banned, browser, Chinalinked, Complete, from, Hindustan, India, List, Times