Changeset 2178
- Timestamp:
- 11/30/07 17:32:03 (5 years ago)
- Files:
-
- 1 modified
-
platform/prism/wassr/src/webapp.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/prism/wassr/src/webapp.js
r1896 r2178 14 14 _last_message_ctime: '0000-00-00 00:00:00', 15 15 16 17 16 _unescapeHTML : function (src) { 18 17 var div = host.getBrowser().contentWindow.document.createElement("DIV"); … … 22 21 23 22 _doTimer : function() { 23 try { 24 // operating DOM. 25 host.log("OPERATING NOW"); 26 27 var document = host.getBrowser().contentWindow.document; 28 if ( ! document.getElementById('PrismMenu') ) { 29 host.log("Insert!"); 30 var div = document.createElement('div'); 31 div.id = 'PrismMenu'; 32 div.innerHTML = '<a href="/my/">MyPage</a>'; 33 document.getElementById('Side').parentNode.appendChild(div); 34 } 35 } catch(e) { 36 host.log(e); 37 }; 38 24 39 try { 25 40 // Ajax. … … 110 125 setInterval(Wassr._disable_links, 500); 111 126 this._timer = setInterval(Wassr._doTimer, 60*1000); 127 Wassr._doTimer(); 112 128 }, 113 129
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)