1window.onload = function(){ 2 var addBtn = document.getElementById('add-reminder'); 3 if(addBtn != null){ 4 var style = "width: 48px; z-index: 100000; height: 48px; position: fixed; cursor: pointer; background: white; border-radius: 50%; padding: 4px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);"; 5 var addBtnPosition = { 6 top: addBtn.getAttribute("data-top"), 7 bottom: addBtn.getAttribute("data-bottom"), 8 left: addBtn.getAttribute("data-left"), 9 right: addBtn.getAttribute("data-right") 10 } 11 if(addBtnPosition.top || addBtnPosition.bottom || addBtnPosition.left || addBtnPosition.right){ 12 for(var pos in addBtnPosition) 13 style += pos + ": " + addBtnPosition[pos] + "px;"; 14 }else{ 15 style += "bottom: 24px; right: 24px;"; 16 } 17 addBtn.style = style; 18 var title = "Add Reminder"; 19 var user = addBtn.getAttribute("data-user"); 20 var link = 'https://pireminder.com/addreminder'; 21 if(user){ 22 title += ' for ' + user; 23 link = 'https://pireminder.com/'+user+'?add=1'; 24 } 25 addBtn.innerHTML = '<a title="'+title+'" href="'+link+'" target="_blank" ><img width="100%" height="100%" src="https://pireminder.com/img/add-reminder-icon.png" /></a>'; 26 } 27}
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.