Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: chrome/common/extensions/docs/static/npapi.html

Issue 7778017: Update references to the extension gallery. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <div id="pageData-name" class="pageData">NPAPI Plugins</div> 1 <div id="pageData-name" class="pageData">NPAPI Plugins</div>
2 2
3 <p> 3 <p>
4 Leveraging HTML and JavaScript 4 Leveraging HTML and JavaScript
5 makes developing new extensions really easy, 5 makes developing new extensions really easy,
6 but what if you have existing legacy or proprietary code 6 but what if you have existing legacy or proprietary code
7 that you want to reuse in your extension? 7 that you want to reuse in your extension?
8 You can bundle an NPAPI plugin with your extension, 8 You can bundle an NPAPI plugin with your extension,
9 allowing you to call into native binary code from JavaScript. 9 allowing you to call into native binary code from JavaScript.
10 </p> 10 </p>
11 11
12 <h2>Warning</h2> 12 <h2>Warning</h2>
13 13
14 <p align="center"><b>NPAPI is a really big hammer that should only be used when no other approach will work.</b> 14 <p align="center"><b>NPAPI is a really big hammer that should only be used when no other approach will work.</b>
15 15
16 <p>Code running in an NPAPI plugin has the full permissions of the current user and is not sandboxed or shielded from malicious input by Google Chrome in any wa y. You should be especially cautious when processing input from untrusted source s, such as when working with <a href="content_scripts.html#security-consideratio ns">content scripts</a> or XMLHttpRequest. 16 <p>Code running in an NPAPI plugin has the full permissions of the current user and is not sandboxed or shielded from malicious input by Google Chrome in any wa y. You should be especially cautious when processing input from untrusted source s, such as when working with <a href="content_scripts.html#security-consideratio ns">content scripts</a> or XMLHttpRequest.
17 17
18 <p>Because of the additional security risks NPAPI poses to users, extensions tha t use it will require manual review before being accepted in the 18 <p>Because of the additional security risks NPAPI poses to users, extensions tha t use it will require manual review before being accepted in the
19 <a href="https://chrome.google.com/webstore">web store</a> or 19 <a href="https://chrome.google.com/webstore">Chrome Web Store</a>.</p>
20 <a href="https://chrome.google.com/extensions">extension gallery</a>.
21 20
22 <h2>Details</h2> 21 <h2>Details</h2>
23 22
24 <p> 23 <p>
25 How to develop an NPAPI plugin is outside the scope of this document. 24 How to develop an NPAPI plugin is outside the scope of this document.
26 See <a href="https://developer.mozilla.org/en/Plugins">Mozilla's 25 See <a href="https://developer.mozilla.org/en/Plugins">Mozilla's
27 NPAPI plugin reference</a> for information on how to do that. 26 NPAPI plugin reference</a> for information on how to do that.
28 </p> 27 </p>
29 28
30 <p> 29 <p>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 including an NPAPI plugin whenever possible. 89 including an NPAPI plugin whenever possible.
91 </p> 90 </p>
92 91
93 <p> 92 <p>
94 Marking your NPAPI plugin "public" increase the attack surface of your 93 Marking your NPAPI plugin "public" increase the attack surface of your
95 extension because the plugin is exposed directly to web content, making 94 extension because the plugin is exposed directly to web content, making
96 it easier for a malicious web site to manipulate your plugin. Instead, 95 it easier for a malicious web site to manipulate your plugin. Instead,
97 avoid making your NPAPI plugin public whenever possible. 96 avoid making your NPAPI plugin public whenever possible.
98 </p> 97 </p>
99 98
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698