1window.addEventListener('load', function() { 2 setTimeout(function() { 3 document.getElementById('controlbox').style.display = 'none'; 4 }, 1000); 5 setTimeout(function() { 6 document.getElementById('controlbox').style.display = 'none'; 7 }, 2000); 8 setTimeout(function() { 9 document.getElementById('controlbox').style.display = 'none'; 10 }, 3000); 11 setTimeout(function() { 12 document.getElementById('controlbox').style.display = 'none'; 13 }, 4000); 14 setTimeout(function() { 15 document.getElementById('controlbox').style.display = 'none'; 16 }, 10000); 17}); 18 19function add_converse_plugin(converse) { 20 converse.plugins.add('myplugin', { 21 overrides: {}, 22 initialize: function() { 23 var converse_inner = this.converse; 24 25 converse.listen.once('initialized', function() { 26 document.getElementById('controlbox').style.display = 'none'; 27 }); 28 29 converse.listen.once('ready', function() { 30 document.getElementById('controlbox').style.display = 'none'; 31 converse.user.status.message.set('' + window.location); 32 33 converse_inner.roster.create(_.extend({ 34 ask: undefined, 35 fullname: 'singpolyma', 36 groups: [], 37 jid: '[email protected]', 38 requesting: false, 39 subscription: 'both' 40 }, {}), {sort: false}); 41 42 // Wait for vCard fetch 43 setTimeout( 44 function() { 45 converse.chats.get('[email protected]').minimize(); 46 document.getElementById('toggle-minimized-chats').style.display = 'none'; 47 document.querySelector('#minimized-chats > .flyout').style.bottom = '0';; 48 document.querySelector('#minimized-chats .restore-chat').textContent = 'Chat Me'; 49 }, 50 1000 51 ); 52 }); 53 } 54 }); 55}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.