chromix
chromix copied to clipboard
Error pages
Is there any way to detect when a tab is showing a 404, or an "Unable to connect to the internet" page or similar? Currently, '''chromix url''' will just return the last URL that that tab is on, which may be valid but for my use case is insufficient.
Or does this require event callback?
Does the page contain useful data or the fail whale, right? Hmm. Don't know, sorry.
No useful data, no; just the built-in error page. As the URL does not change in the address bar, 'chromix url' simply returns the same URL as before the fail whale shows.
Infernix: There is a klugy work-around. Most 404 pages have "404 Not Found" in the title. Assuming that you want to watch for 404's (not sure if polling is that good of an a good idea), but if you periodically run "chromix without pin list" (or similar) and filter for "404 Not Found", you'll get the data I'm assuming you're seeking.
smblott: This is a very nice-to-have tool! It fills a gap in my kit. Thanks much!