I want to get the same results that Google Chrome get on his Network functionality Network Google Chrome. I found this, but i'm not sure if it works and how to use it. Basically i want to use that information to made a google chrome extension.
Any idea?
I think the chrome.devtools.network API would be better suited for your use.
Related
Recently I noticed that geolocation doesn't work on Firefox when using Google Maps API. After googleing for a while, I tried showing my current location (from a laptop, not from mobile) on Google Maps, but it didn't work there as well.
Here's what I have in my geo.wifi.uri in the about:config Firefox's tab:
https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY%
Can anyone help me?
I faced the same problem, and from what I found, we can't use Google's Geolocation unless we get our own API key. If you don't mind, you can use Mozilla's Geolocation, but the results will be different from Google's.
You can change https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY% to https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%
Source
Is there a Chrome Extension API that I can use to interact with the printing options for a page? I've checked Chrome's extension API's, but I can't seem to find anything on interacting with printing options in any way.
Is interacting with printer options possible using Chrome Extensions?
Basically, no, there is no such API currently.
There are, it seems, vague plans for such an API in Chrome Apps, but nothing concrete yet as of 2015-04-16.
You might want to look into the chrome.printerProvider API (added in version 44).
I would like to get a good tutorial on building a chrome desktop app.
I found some good ones for Chrome Extensions, Chrome Apps that don't do anything but redirecting to a website - What I want is an app like Any.do, like Google Keep, like Sunrise Calendar:
Apps that work without chrome and in a different window, but I hope I can make one with HTML-CSS-JS.
Do you know where I can find any documentation for that?
Thanks!!
This was previously called a "packaged app", and now is simply called "Chrome App", as opposed to what's called "hosted app" (link to a website).
The main documentation is here.
Note that Chrome Apps have, in some regards, more power, but they don't integrate much with the browser as Extensions do. They are intended to behave as self-contained. They don't work completely without Chrome, but they do have independent windows.
Is there a way to fake POST requests in Chrome?
So far the best Ive seen is the extension called Postman which I think is BRILLIANT except for 1 detail that is critical. It doesnt download the other resources like CSS stylesheets and images.
What other tool I could use?
Try use Postman as a Google Chrome App
https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop
(P.S. from How do I manually fire HTTP POST requests with Firefox or Chrome?)
When I visit some websites, on top of the browser it promotes me to install Chrome Extension by saying "This website now has Google Chrome Extension... Install".
Anyone knows how to do this? Does Google already provide scripts to do this?
Example: Visit the following site using Chrome:
http://www.independent.co.uk
Now, it's possible to do what you need. Just follow this link, that explains how to use "inline" installation once you've published your app or extension at Chrome Webstore.
PS. Inline installation only works in Chrome 15+
Paul Kinlan's Badgemator is a good resource for this sort of thing. It creates a JavaScript snippet that you can put on your site in order to direct users to the webstore entry.
It doesn't attempt to mimic Chrome's infobar in the same way that The Independent does, but I personally think that's a good thing. Pretending to be part of the browser is a good way to confuse users, and isn't something I'd recommend (especially now that the infobar extends outside the browser window into Chrome's own UI).
What you're seeing is not built into Chrome, and not provided by Google.
The site will have some code that detects your browser agent (either via Javascript or a server-side script), sees that it's Chrome, and then adds some extra HTML/CSS/Javascript to make a mock UI element to grab your attention. Inspect the element to see what's really happening.
Another example is http://page2rss.com/page?url=www.stackoverflow.com/
Also, see Alerting website visitors that a chrome extension is available - how?
I wrote a jQuery extension that does just that: http://blog.dreasgrech.com/2012/01/promoting-your-chrome-extension-with.html
The simplest way to use it is to simply pass the ID of your Chrome extension:
$.fn.extInfobar({
id: 'nbilgjjflfiiijecdjpnbganoiafneph'
});
That generates the following:
From Chrome 15 there is API for this.
Just ask Chrome if your extension is installed.
You need to publish your extension in Google Chrome Extensions site, then you'll be able to publish it in your site.
You'll need to pay a one-time fee ($5) in order to get registered as a developer.
As of 06/12/2018, inline installation is deprecated. For more information, read our Chromium Blog post and Migration FAQ.
From: https://developer.chrome.com/webstore/inline_installation