1var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor); 2var isSafari = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor); 3var styledir = ($('#styledir')[0].className); 4 5if (isChrome) 6{ 7 $('head').append('<style>@import url('+styledir+'/css/chrome.css);</style>'); 8} 9 10if (isSafari) 11{ 12 $('head').append('<style>@import url('+styledir+'/css/safari.css);</style>'); 13} 14 15// Papoo-menü für foundation Top-Bar anpassen 16$('span.ignore').remove(); 17$('li.dropdown').removeClass('dropdown'); 18$('div.untermenu1 ul').unwrap(); 19 20// Klassen hinzufügen, die die Top-Bar braucht 21$('ul.mod_menue_ul ul').each(function(){ 22 $(this).addClass('dropdown'); 23 $(this).parent().addClass('has-dropdown not-click'); 24}); 25 26// Alle Youtube videos finden und in die flex-video klasse packen 27var $allVideos = $("iframe[src^='http://www.youtube.com']"); 28 29$allVideos.each(function() { 30 31 var newItem = document.createElement("DIV"); 32 newItem.className = "flex-video"; 33 newItem.innerHTML = $(this)[0].outerHTML; 34 $(this).replaceWith(newItem); 35 36});
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.