Chrome’s loading indicator keeps spinning during XMLHttpRequest

I shamelessly stole Oleg’s test case and adjusted it a bit to simulate long-polling. load.html: <!DOCTYPE html> <head> <title>Demonstration of the jQery.load problem</title> <script src=”http://code.jquery.com/jquery-latest.js”></script> <script> jQuery(document).ready(function() { $(‘#main’).load(“test.php”); }); </script> </head> <body> <div id=’main’></div> </body> </html> test.php: <?php sleep(5); ?> <b>OK!</b> The result is interesting: in Firefox and Opera, no loading indicator is shown … Read more

How many concurrent requests should we multiplex in HTTP/2

The number of streams that client and server can initiate isn’t unlimited, it’s mandated by the SETTINGS_MAX_CONCURRENT_STREAMS parameter of the SETTINGS frame that each peer sends at the beginning of the connection: see section 6.5.2 of RFC 7540 The default is unlimited, and the RFC has the following recommendation: It is recommended that this value … Read more

Running code snippets from Google Chrome console command line, using (experimental) code snippets feature?

Workflow Tip 1 I also want to see this functionality added. Meanwhile, perhaps try opening the Sources where (as you know) you can select a snippet and right click it to run it. You may or may not know that you can tap Esc on this page in order to show the console at the … Read more

Google Chrome disable tab tooltip popup [closed]

The link provided in comments work. Pasting it here for direct solution. Visit Chrome://flags page Search for Tab hover, in the highlighted search results, for Tab Hover cards Select “Disabled ” and restart the Chrome browser. Do note the flags are temporary, may work for a couple of versions, after that they’ll disappear, this is … Read more

C# native host with Chrome Native Messaging

Assuming the manifest is set up properly, here is a complete example for talking to a C# host using the “port” method: using System; using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace NativeMessagingHost { class Program { public static void Main(string[] args) { JObject data; while ((data = Read()) != null) { var processed = ProcessMessage(data); … Read more

Manifest v3 background scripts/service worker on Firefox

Just faced the same problem: Chrome is not happy with background.scripts and insists on using background.service_worker Firefox doesn’t support background.service_worker and wants background.scripts Manifest v3 is developed by Google, so looks like Firefox team haven’t fully implemented it yet. Firefox 109 is the first version to “support” manifest v3 (released on January 17). I was … Read more

Running Chrome WebDriver on a linux server with no display

I was facing the same challenge of setting a linux box with selenium + chromedriver, and here’s my notes: Pre-reqs: Install JRE to run the selenium jar Install the selenium server grab the jar file from https://code.google.com/p/selenium/downloads/list) Install xvfb (you’ve seem to have already achieved this part) Install google-chrome for your linux distribution Download the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)