Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: about/extension.js

Issue 8493027: Acquired Opera AdBlock code (Closed)
Patch Set: Created Oct. 2, 2012, 1:15 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « about/author.js ('k') | about/license.js » ('j') | files/background.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: about/extension.js
===================================================================
new file mode 100644
--- /dev/null
+++ b/about/extension.js
@@ -0,0 +1,16 @@
+var extensionParent = document.getElementById('extension');
+
+var googlePlus = document.createElement('a');
+googlePlus.setAttribute('href', 'https://plus.google.com/u/0/100030264608059760955/');
+var googlePlusLogo = document.createElement('img');
+googlePlusLogo.setAttribute('src', '/images/googlePlus.png');
+googlePlus.appendChild(googlePlusLogo);
+
+var title = document.createElement('h2');
+title.appendChild(document.createTextNode(translate.get('about_ext') + ' '));
+title.appendChild(googlePlus);
+extensionParent.appendChild(title);
+
+var text = document.createElement('p');
+text.appendChild(document.createTextNode(translate.get('about_ext_text')));
+extensionParent.appendChild(text);
« no previous file with comments | « about/author.js ('k') | about/license.js » ('j') | files/background.js » ('J')

Powered by Google App Engine
This is Rietveld