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

Side by Side Diff: common/header.js

Issue 8493027: Acquired Opera AdBlock code (Closed)
Patch Set: Created Oct. 8, 2012, 5:58 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « common/donate.js ('k') | common/notification.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 document.getElementById('title').appendChild(document.createTextNode(translate.g et('ext_name') + ' - ' + translate.get('preferences')));
2
3 var headerParent = document.getElementById('header');
4
5 var logo = document.createElement('img');
6 logo.setAttribute('src', '/images/icon32.png');
7 logo.setAttribute('width', '32px');
8 logo.setAttribute('length', '32px');
9
10 var title = document.createElement('h1');
11 title.appendChild(logo);
12 title.appendChild(document.createTextNode(' ' + translate.get('ext_name')));
13
14 var subtitle = document.createElement('h4');
15 subtitle.appendChild(document.createTextNode(translate.get('ext_descript')));
16
17 headerParent.appendChild(title);
18 headerParent.appendChild(subtitle);
OLDNEW
« no previous file with comments | « common/donate.js ('k') | common/notification.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld