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. 2, 2012, 1:15 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
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/icon_red34.png');
7 logo.setAttribute('width', '34px');
8 logo.setAttribute('length', '34px');
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') | files/background.js » ('J')

Powered by Google App Engine
This is Rietveld