Discover chrome plugin development, include the articles, news, trends, analysis and practical advice about chrome plugin development on alibabacloud.com
Recently in the development of a chrome plug-in, found some articles on the internet, although according to the article can write the corresponding example, but to carry out the actual development, found that there are many articles do not have pits. I will add some of these pits in conjunction with several aspects that I have encountered during the
unstable. Why Chrome?Because Chrome's plug-in is the simplest to develop, there is no new technology on the whole, the development language is Javascript,web front-end engineers can quickly get started, and Firefox plug-in development is much more complex, involving the environment and some outside the Web technology IE plug-in
Because usually use chrome on the Internet, but always feel in addition to the speed, concise outside there is always a place to meet my needs, and then find plug-ins ... Later found that although the bulk of the plug-in but find a satisfactory is not an easy thing, used in the time to find plug-ins can write a, so, the summer began to write a few leisure time, and then in the Application Center intermittent release, these plug-ins were originally for
; -) 0xFF)) Char(((len>> -) 0xFF)); //Now we can output our messageStd::cout message; }}Nativemessaging communication is based on the IO stream, using the GetChar () function to receive messages sent to the EXENow the problem is to receive EXE sent to the chrome plugin has a problem, not received, in the console can not see, do not know why? There is nativemessaging can not be in real-time commun
viewing the HMTL source code. If you are viewing the code in the resources option in Chrome's console, it is recommended to use Chrome's "pretty print" feature, which is to click on the "{}" icon.WhatfontTo see which fonts are used for the current page, Firebug and WebKit Inspector can also view the fonts, but far from being webfont convenient, webfont can view the fonts by hovering over the elements. It also supports viewing network fonts, such as Typekit and Google font APIs.IE TabOpen the IE
Reference: http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/Below I will step by step to teach you how to develop a browser plug-in, the plugin will create an icon in the browser toolbar, click on the icon will pop up a page.1. Create directory getstarted at any location.2, create a text file in the getstarted dire
). Chrome creates a separate JavaScript runtime (also called a run context) for the plugin to run the background script you specify.Configuration method:" background " " Scripts ": ["background.js"]}Content_scripts: A script to be injected into a page that accesses the contents of the DOM and is used primarily to get and modify the contents of the page. By default, it runs when the page is loaded and the pa
Find a calendar on the Mac is quite troublesome, just think of the previous JQ plugin written in Chrome plug-in, it is a blind toss wrote aFirst look at the directory structure of this plugin, very simpleCalendda|--HTML\CSS\JS//The static resource file we need|--manifest.json//chrome configuration fileThe main point is
Install the Chrome browser wallet Plugin: Https://github.com/ChengOrangeJu/WebExtensionWalletFirst step: Clone project or download Zip package to localStep Two: Install
Open the Chrome browser and enter: chrome://extensions/in the Address bar to open the Extensions administration page
Click "Developer Mode
;var Tabtitle = Tab.title;callback (Taburl,tabtitle);}); Listen for the click Time Document.addeventlistener (' domcontentloaded ', function () {Getcurrenttaburl (function (taburl,tabtitle) { var website = document.getElementById (' website '); var title = document.getElementById (' title '); website.textcontent = "URL:" + taburl; Title.textcontent = "title:" + Tabtitle; Generate a two-dimensional code jQuery (' #QRcode '). QRCode (TabURL);});Results:What are the good links, direct scan
1:content scripts is a script that page action will inject into a specific page
The content script in the Chrome plugin is run in a running environment called isolated world, and the script on the page does not interfere with each other, because it is not in a running environment, so it is not possible to invoke the method of script definition on the page. Of course, Google also gives a solution: http://cod
the plugin. 4. Install pepper Flash Plugin:4.1. Download HUGHESJR Auxiliary installation script:cd/tmpwget https://raw.github.com/hughesjr/chromium_el_builder/master/chrome_pepperflash_copy.sh4.2. Set chrome_pepperflash_copy.sh as executable:chmod +x chrome_pepperflash_copy.sh4.3, execute the script to install (you can look at the script content to understand what happened):./chrome_pepperflash_copy.shafte
At present, the Chrome official has banned the application of the non-Chrome store installed, so the application of the site through the foreign server from the Google official application market download down, provided to the vast number of users in the country, the following we will Check my cookies plug-in as an example, Please tell me how to install the plugin
! No ads, no malice.EatDownload number of times: 3387 plugin homepage Details plugin downloadCookies Button Chrome PluginProvide quick access to the icon to manage your chrome's cookies.This is a simple lightweight extension that adds a shortcut button to your browser for quick access to your cookie settings and options. It either opens a new tab, or switches to
I. Local drag-and-drop installation1. Download the extension/script to the local computer;2. Drag it directly to the browser's extensions (chrome://chrome/extensions/) page.Second, the solution "can only install the program through the Chrome Web Store"For some special reasons, chrome plug-in uses the installation meth
Let's make a small ad, huh?Company recruit Java architect, monthly salary of more than 25K, responsible for e-commerce platform architecture work, work location in Beijing line Line 1 Yongan station near, if there is intention please send my CV email [email protected]Can be recommended in-house.DHC is a Google browser plugin that uses the Chrome simulation rest client to send test data to the server.DHC's
Differences in the context of English:
The plugin corresponds to "Plugin", the extension corresponds to "Extension", so there are actually two different words behind them.
At the functional level difference:
Plug-ins do not increase the functionality of the browser itself, can invoke the operating system's APIs, and different operating system plug-ins are generally not mixed. We often encounter Plug-
If you want to do GWT debugging in Chrome, you'll need to install "GWT Developer plugin for Chrome", but in normal installation mode, you'll be prompted:This application isn't supported on this computer. Installation has been disabled. The following problems is DETECTED:NPAPI plugin was required by this appThe main ide
Sync and directly from the Google Drive ™ page of the Chrome pluginWith this browser extension, you can sync, backup and manage all the files in the cloud, and integrate things in your Dropbox, Sharepoint™, Google gmail™, Evernote, Box, onedrive™, egnyte™, or base camp account with Google Drive ™ 。 and settings can be done directly from the Google Drive ™ interface.Some use cases:* You can back up your Google Drive ™ to Dropbox's* Consolidate and back
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.