To implement the interaction between Background.js and Popup.js, you first need to configure the Manifest.json file, such as:"Background": {//"page": "Background.html", "Scripts": ["Js/jquery-1.10.2.min.js", "Js/background.js"]}Must be configured background items, background.html can not need, scripts need to configure the JS file. Here I use the Background.js file.Popup.js calls the function inside the background.js file.Background.jsfunction test () {alert ("Test");}Popup.jsFirst get the backg
I18N (whose source is the English word internationalization the first character I and n,18 as the middle character number) is the abbreviation of "internationalization". The I18N encapsulation API in the Chrome plugin framework:Chrome.i18n.getMessage (name)The characters used can be defined in a format similar to __msg_extname__, and then invoked through this API, for example:Chrome.i18n.getMessage (' Extna
An interesting jQuery rotation plug-in is found on the Internet. It supports Internet Explorer 6.0 +, Firefox 2.0, Safari 3, Opera 9, and Google Chrome. Transform is used in advanced browsers, earlier versions of ie use VML for implementation.Call and method:Rotate (angle) Angle Parameter: [Number]-0 by default-rotate the Image Based on the given angleFor example:Copy codeThe Code is as follows:$ ("# Img"). rotate (45 );Rotate (parameters)Parameters p
;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
An interesting jquery rotation plug-in is found on the Internet. It supports Internet Explorer 6.0 +, Firefox 2.0, Safari 3, opera 9, and Google Chrome. transform is used in advanced browsers, earlier versions of IE use VML for implementation.
Call and method:
Rotate (angle)
Angle Parameter: [number]-0 by default-rotate the Image Based on the given angle
For example:
CopyCode The Code is as follows: $ ("# IMG"). Rotate (45 );
Rotate (param
Install Flash for Chrome:Open terminal, input: sudo apt-get install Pepperflashplugin-nonfreeInstall for Firefox:Reference: http://jingyan.baidu.com/article/2fb0ba40a7832600f2ec5f80.htmlAttention:"After copying all the files in the" USR "directory to/usr, execute the command: sudo cp-r usr/*/usr" in this sentence the first USR is the compressed package after decompression contains the USR directory, the second/usr, refers to the computer's root directory in the USR directory.Do not restart Firef
1. There are some in the chrome store, but I can't install them.2, source installation: http://vimium.github.io/Https://github.com/philc/vimiumgit clone [email protected]:p Hilc/vimium.gitStep-Outs:Installing from SourceVimium is written in Coffeescript, which compiles to Javascript. To install Vimium from Source:
Install Coffeescript.
Run from cake build within your Vimium directory. Any coffeescript files your change would now is automa
1. Two-D code pluginhttps://chrome.google.com/webstore/detail/%E4%BA%8C%E7%BB%B4%E7%A0%81qr%E7%A0%81%E7%94%9F%E6%88%90%E5%99%A8/ Pflgjjogbmmcmfhfcnlohagkablhbpmg?hl=zh-cnWhen testing the mobile phone scan QR code to test the WAP2. PluginsHttps://chrome.google.com/webstore/detail/webpage-screenshot/bdfnieppndfdhcgbmhfdlgdjegclkomk?hl=en-US3. Resolution Plug-inHttps://chrome.google.com/webstore/detail/resolution-test/idhfcdbheobinplaamokffboaccidbal/related?hl=zh-CNCan simulate various resolutions
Reference: http://blog.csdn.net/hk2291976/article/details/51280816Common commands:K,w: Move up;J,s: Move Down;H: Left;L: Right;U: Top Half pageD: Lower half pageGG: Web HeaderG: End of page0: Left of the page$: page Most RightCopy and paste in visual mode/: Findn/n: Find matching options down and upV: Select rowV:visual modeY: CopyCommon commands:I: Finding in historyB: Find in bookmarkstab page Command:R: RefreshX: Close the current tabX: Open the last closed tabJ: Left tab K: Right tabH: Fallb
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.