',
' url ': ' http:// Code.google.com/chrome/extensions '});
2. Cookies2.1, Manifest.json in the configuration
{
' name ': ' My extension ',
...
' Permissions ": [
" Cookies ",
" *://*.google.com "
],
...
}
3. Developer ToolsThe following API modules provide some of the interface of developer tools to support your expansion of developer tools.
(1) Devtools.inspec
previously suppressed the notification, then the browser will not ask the user again, the Notification.requestpermission () method is invalid)Notification.requestpermission (function(status) {if(Status = = = "Granted") {//user allows varInstance =NewNotification (title, {body:msg, Icon:icon URL}); Instance.onclick=function() {window.focus (); Window.location.href=Clickurl; }; Instance.onerror=func
automatically converts the color of text content.
Complete a considerable amount of UI beautification for chrome on the mobile phone.
The two patches that need special attention are on chromium.Compile the CSS shaderAnd newImage-set CSS attributes.
Appendix: important updates in previous weeks:
3.9
Follow the WebKit-DevAnnouncement, Hands started to implement a preliminary patch.Javascript Speech API(Voi
Google Chrome browser supports the HTML5 notifications API, which allows you to create native hints, similar to OS X's Growl hints.
It is to be noted that you need to check that the user has provided your site license to use this API. If not, you must request permission, that is, require the user to manually press the
include a key "Mgpagenumber"#defineMGPageNumberKey @ "Mgpagenumber"extern NSString * mgtilemenuwillswitchtopagenotification ;extern NSString * mgtilemenudidswitchtopagenotification ;Rule 25: Test the hellIn the end, we all know the whole thing.Software Project Specialization article 101th: Make sure it does work.Whether to use formal TDD (test driven development) depends on you. But the test itself is unlikely to be comprehensive. There may be problems with each of the thousands of combinatio
notification:// Notice UserInfo contains a key "Mgpagenumber"#defineMGPageNumberKey @ "Mgpagenumber"extern NSString * mgtilemenuwillswitchtopagenotification ;extern NSString * mgtilemenudidswitchtopagenotification ;Rule 25: Test the hellFinally, everything has been known to everyone. Specialization in Software engineering 101th: Make sure it does work.Whether to use formal TDD (test-driven development) depends on you, but the test itself is impossible to do comprehensively. Each of the thous
Getting Started with chrome Extensions 2. How to use the Chrome Extensions API.
Google's Chrome Extensions API is one of the most authoritative materials for developing chrome extensions, detailing the features that
Chrome plug-in demo, uses js to call chrome api to clear browser cache, chromejs
A simple chrome plug-in demonstration mainly involves page scripts, content scripts, communication between background scripts, and api calls. On this, other
Through the chrome.alarms.* API, the Chrome browser Extender can make plans to execute code periodically, or execute code at a specified time.To use the chrome.alarms.* API, you first need to declare the alarms authorization in the Manifest.json file as follows:{"Permissions": ["Alarms"],}The properties of the Chrome.alarms.Alarm object are as follows:
I want to pre-replace or replace some content in the webpage source code, such as bad words, links, pictures, and so on. You can replace the content before loading the webpage. After the content is replaced, it is displayed to the user instead of loading and replacing it. Is there any API that can be implemented, or is there something similar... I want to implement it?
Pre-replacementOr
Replacing webpage source codeSome content, such as bad words, l
I would like to implement the
pre-replacement or replace some of the content of the
Web page source , such as bad words, links, pictures or something.
Before loading the Web page rendering, replace, replace and then display to the user, instead of loading and then replace, is there any relevant API can be implemented, or there is no similar function of the extension?
Reply content:
I would like to implement the pre-replacement or replace some
Surprised to find today, CHROME22 has not supported the Window.webkitNotifications.createHTMLNotification method:However, you can continue to use it in Chrome extension, such as the page performance detection feature in Fehelper:What is Google doing here? Gradually to achieve their own standardization?WEB notification does not createhtmlnotification such a method, or even createnotification.Instead, it is a simple constructor:
varnotif
The latest developments in chrome in recent weeks are as follows:
The skeleton of the chromium content shell on the Android platform has been implemented last week, which is the first step to establish an android APK file containing chromium.
WebKit is supportedNetwork Information API(Network informationapi), but currently only applicable to EFL porting.
The Blackberry version has been transplanted.Batte
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.