SHARE
TWEET

GM - Table View Plus - 4.2.0 (With Stats Keeper) - HTTPS

decembre Mar 8th, 2017 (edited) 266 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name          Table View Plus - 4.2.0 (With Stats Keeper) - HTTPS YAHOO
  3. // @version       4.2.0
  4. // @description   Enhancement suite for the Userstyles.org site
  5. // @author        Sonny Razzano
  6. // @namespace     srazzano
  7. // @license       CC by-nc-sa http://creativecommons.org/licenses/by-nc-sa/3.0/
  8. // @include       http*://userstyles.org*
  9. // @homepage      http://userscripts.org/scripts/show/100937
  10. // ==/UserScript==
  11.  
  12.  
  13. // ============================================================
  14. // ********************** CUSTOMIZE TEXT **********************
  15. // ============================================================
  16. // *** Page Body **********************************************
  17. var tvp_3 = 'Home Page';
  18.  
  19. // *** LEFT SIDEBAR *******************************************
  20. var tvp_10 = 'Migrate acct. to OpenID';
  21. var tvp_72 = 'Discussions on my styles';
  22. var tvp_78 = 'Create widget for styles';
  23. var tvp_75 = '';
  24. var tvp_12 = 'Style options';
  25. var tvp_13 = 'Table Filter';
  26. var tvp_44 = ' \u2003 Results per page: ';
  27. var tvp_45 = 'OK';
  28. var tvp_46 = 'Separate multiple entries with <> and no spacing. Double click: clears field. Middle click: enters active keywords.'; // Tooltip
  29. var tvp_47 = 'Show Filtered';
  30. var tvp_48 = 'Hide Filtered';
  31. var tvp_49 = 'Create';
  32. var tvp_50 = 'Create Filter'; // Tooltip
  33. var tvp_69 = 'No Entries'; // Tooltip
  34. var tvp_51 = 'Clear';
  35. var tvp_68 = 'Delete Keyword(s)\nMiddle-click input box inserts all keywords'; // Tooltip
  36. var tvp_52 = 'Filtered';
  37. var tvp_104 = 'Table Options';
  38. var tvp_109 = 'Profile for ';
  39. var tvp_111 = 'More:';
  40.  
  41. // *** TABLE OPTIONS POPUP MENU *******************************
  42. var tvp_0 = 'Userstyles.org Table View Preferences';
  43. var tvp_1 = 'Default sort direction for table';
  44. var tvp_2 = 'Auto fetch metadata on page load';
  45. var tvp_4 = 'Enable Metadata Fetcher (&#119830;&#119816;&#119819;&#119819; &#119821;&#119822;&#119827; fetch data for @-moz-document using RegExp or userstyles.org as url)';
  46. var tvp_5 = 'Metadata previews on hover (Default click)';
  47. var tvp_70 = 'Hide Social and Donate Tags';
  48. var tvp_80 = 'Show Hidden Metadata on Styles Page';
  49. var tvp_81 = 'Enable Brown/Tan Theme';
  50. var tvp_82 = 'Show Table Filter in Sidebar';
  51. var tvp_83 = 'Show Nav Links in Sidebar';
  52. var tvp_90 = 'Sidebar Width Value in px';
  53. var tvp_91 = 'Content Margin Left Value in px';
  54. var tvp_92 = 'Table Width Value in % or px';
  55. var tvp_93 = 'Enable Sidebar, Content and Table Size Mode';
  56. var tvp_94 = 'Size Mode:';
  57. var tvp_95 = 'Enable Stats Keeper (Displays after site updates)';
  58. var tvp_105 = 'Body background-color:'; // Background tint
  59. var tvp_106 = 'Links color:'; // Links color
  60. var tvp_107 = 'Visited links color:'; // Visited links color
  61. var tvp_108 = 'Color Values:';
  62.  
  63. // *** TABLE STYLES *******************************************
  64. var tvp_74 = 'rgba(44,44,44,.5) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHMAAAAYCAYAAADJcMJ/AAAA0ElEQVR42u3RCRGAMBBDUaoELxVeLzhBQe/NkiyNgcybn3LO9+W8Usrj+fcXY/KGnpA4o2vMExJrdIt5QuKNLjG/RnqMwQiPyYBEj8UIjcmCRI7JCIvJhESNzQiJyYZEjNFoHpMRaT1Wo2lMVqTlmI1mMZmRVmM3msRkR1pMwbgdUwG5OxXjVkwV5M6UjMsxlZCrUzMuxVRDrkzROB1TETk7VeNUTFXkzJSNwzGVkaNTNw7FVEeOLIKxGzMCsrcoxmbMKMjWIhmrMSMha4tmfAGfx9WRixYU2gAAAABJRU5ErkJggg==)'; // Disabled items background
  65.  
  66. // *** TABLE SUMMARY STATS ************************************
  67. var tvp_58 = 'Total Installs:';
  68. var tvp_59 = 'Weekly Total:';
  69. var tvp_60 = 'Ratings:';
  70. var tvp_61 = 'Good';
  71. var tvp_62 = 'Ok';
  72. var tvp_63 = 'Bad';
  73. var tvp_100 = 'Reset Stats';
  74. var tvp_101 = 'First visit, statistics recorded.';
  75. var tvp_102 = 'last reset ';
  76. var tvp_103 = 'This will clear all stats until next site update. Proceed?';
  77.  
  78. // *** TABLE HEADER COLUMNS ***********************************
  79. var tvp_15 = '#';
  80. var tvp_22 = 'Styles: ';
  81. var tvp_43 = ' Log in to view your account... ';
  82. var tvp_23 = ' \u2003 Active: '; // space string \u2004=8px, \u2005=7px, \u2006=6px
  83. var tvp_56 = '';
  84. var tvp_24 = ' \u2003 Obsolete: '; // space string \u2004=8px, \u2005=7px, \u2006=6px
  85. var tvp_17 = 'Installs';
  86. var tvp_18 = 'Weekly';
  87. var tvp_19 = 'Updated';
  88. var tvp_20 = 'Rating';
  89. var tvp_21 = 'Discussions';
  90. var tvp_42 = 'Show Obsolete Styles'; // Tooltip
  91. var tvp_25 = 'Hide Obsolete Styles'; // Tooltip
  92. var tvp_96 = 'Fetch/Open metadata of all Styles.\nShift Key or Ctrl Key + left-click excludes obsolete.'; // Tooltip
  93. var tvp_97 = 'Fetch/Open metadata of all Styles.'; // Tooltip
  94. var tvp_98 = 'Close metadata of all Styles.'; // Tooltip
  95. var tvp_110 = 'Reset metadata of all Styles.'; // Tooltip
  96. var tvp_99 = 'Obsolete';
  97.  
  98. // *** TABLE METADATA ROWS ************************************
  99. var tvp_40 = 'Created on ';
  100. var tvp_41 = 'Updated on ';
  101. var tvp_64 = ' by ';
  102. var tvp_112 = 'Undelete';
  103. var tvp_113 = 'Undelete Style';
  104. var tvp_114 = 'Delete Style';
  105. var tvp_115 = 'Edit Style';
  106. var tvp_116 = 'View Stats';
  107. var tvp_117 = 'Main Screenshot';
  108. var tvp_118 = 'Other Screenshots';
  109. var tvp_119 = 'Created on ';
  110. var tvp_120 = 'Updated on ';
  111. var tvp_121 = 'User ID:';
  112.  
  113. // *** TABLE TOOLTIPS *****************************************
  114. var tvp_26 = 'Open metadata of all Styles'; // Tooltip
  115. var tvp_27 = 'Close metadata of all Styles'; // Tooltip
  116. var tvp_54 = 'Open table options'; // Tooltip
  117. var tvp_28 = 'Open Cell'; // Tooltip
  118. var tvp_29 = 'Close Cell'; // Tooltip
  119. var tvp_34 = 'Main Screenshot'; // Tooltip
  120. var tvp_35 = 'Other Screenshots'; // Tooltip
  121. var tvp_36 = ' Discussions ('; // Tooltip
  122. var tvp_37 = ' Good, '; // Tooltip
  123. var tvp_38 = ' Ok and '; // Tooltip
  124. var tvp_39 = ' Bad)'; // Tooltip
  125. var tvp_65 = 'Not Rated'; // Tooltip
  126.  
  127. // *** OWN PAGE AND STYLES PAGE *******************************
  128. var tvp_30 = 'Edit';
  129. var tvp_31 = 'Delete';
  130. var tvp_32 = 'Installs (this week)';
  131. var tvp_33 = '(total)';
  132. var tvp_71 = 'No Screenshots';
  133. // ============================================================
  134. // ******************** END CUSTOMIZE TEXT ********************
  135. // ============================================================
  136.  
  137. (function() {
  138.   testGM();
  139.   function testGM() {
  140.     const STORAGE_PREFIX = 'ustoe-';
  141.     const LOG_PREFIX = 'Userstyles.org Enhancer: ';
  142.     const LOG = true; // Enable logging
  143.     const DEBUG = false; // Set Debugging ON/OFF
  144.     isGM = typeof GM_getValue != 'undefined' && typeof GM_getValue('a', 'b') != 'undefined';
  145.     log = isGM ? function(msg) {if(LOG) GM_log(msg)} : window.opera ? function(msg) {if(LOG) opera.postError(LOG_PREFIX+msg)} : function(msg) {try {if(LOG) console.log(LOG_PREFIX+msg)} catch(e) {}}
  146.     debug = function(msg) {if(LOG && DEBUG) log('** Debug: ' + msg + ' **')}
  147.     addStyle = isGM ? GM_addStyle : function(css) {var head = $('head')[0]; if(!head) return; var style = $c('style', {type:'text/css',innerHTML:css}); head.appendChild(style)}
  148.     setValue = isGM ? GM_setValue : function(name,value) {switch (typeof(value)) {case 'string': localStorage.setItem(STORAGE_PREFIX+name,'S]' + value); break; case 'number': if(value.toString().indexOf('.') < 0) {localStorage.setItem(STORAGE_PREFIX + name, 'N]' + value)} break; case 'boolean': localStorage.setItem(STORAGE_PREFIX+name, 'B]' + value); break}}
  149.     getValue = isGM ? GM_getValue : function(name,defValue) {var value = localStorage.getItem(STORAGE_PREFIX + name); if(value == null) {return defValue} else {switch(value.substr(0,2)) {case 'S]': return value.substr(2); case 'N]': return parseInt(value.substr(2)); case 'B]': return value.substr(2) == 'true';}} return value}
  150.     deleteValue = isGM ? GM_deleteValue : function(name) {localStorage.removeItem(STORAGE_PREFIX+name)}
  151.     xhr = isGM ? GM_xmlhttpRequest : function(obj) {
  152.       var request = new XMLHttpRequest();
  153.       request.onreadystatechange = function() {if(obj.onreadystatechange) {obj.onreadystatechange(request)}; if(request.readyState == 4 && obj.onload) {obj.onload(request)}}
  154.       request.onerror = function() {if(obj.onerror) {obj.onerror(request)}}
  155.       try {request.open(obj.method, obj.url, true)} catch(e) {if(obj.onerror) {obj.onerror({readyState:4, responseHeaders:'', responseText:'', responseXML:'', status:403, statusText:'Forbidden'})}; return}
  156.       if(obj.headers) {for(name in obj.headers) {request.setRequestHeader(name,obj.headers[name])}}
  157.       request.send(obj.data); return request;
  158.     }
  159.     jParse = (window.JSON && window.JSON.parse) ? window.JSON.parse : eval;
  160.     jStringify = (window.JSON && window.JSON.stringify) ? window.JSON.stringify : uneval;
  161.   }
  162.  
  163.   if(typeof devtools=='undefined'){var devtools={};}if(typeof devtools.JSON=='undefined'){devtools.JSON={};devtools.JSON.stringify=function(obj){obj=JSON.stringify(obj);return obj.replace(/"/g,'!~dq~!').replace(/'/g,'!~sq~!');};devtools.JSON.parse=function(str){str=str.replace(/!~dq~!/g,'"').replace(/!~sq~!/g,"'");return JSON.parse(str);};}devtools.dialog={open:function(options,id){this.__setVars(options);if(!id){id=(new Date()).getTime();}this.__var.lastDialogId=id;var wrapper=document.getElementById('devtools-wrapper');if(!wrapper){wrapper=document.createElement('div');wrapper.id='devtools-wrapper';wrapper.innerHTML='<div class="grid">'+'<div id="devtools-cell-topleft" class="dialog-wrapper top left"></div>'+'<div id="devtools-cell-top" class="dialog-wrapper top"></div>'+'<div id="devtools-cell-topright" class="dialog-wrapper top right"></div>'+'<div id="devtools-cell-left" class="dialog-wrapper left"></div>'+'<div id="devtools-cell-center" class="dialog-wrapper center"></div>'+'<div id="devtools-cell-right" class="dialog-wrapper right"></div>'+'<div id="devtools-cell-bottomleft" class="dialog-wrapper bottom left"></div>'+'<div id="devtools-cell-bottom" class="dialog-wrapper bottom"></div>'+'<div id="devtools-cell-bottomright" class="dialog-wrapper bottom right"></div>'+'</div>';document.body.appendChild(wrapper);wrapper=document.getElementById('devtools-wrapper');this.__handleHooks();}wrapper.className=(this.__setting.mask)?'mask':'';var dialog=document.getElementById('devtools-dialog-'+id);if(!dialog||dialog.parentNode.id!=='devtools-cell-'+this.__setting.location.replace('-','')){if(dialog){dialog.parentNode.removeChild(dialog);}dialog=document.createElement('div');dialog.id='devtools-dialog-'+id;dialog.className='dialog'+((this.__setting.class&&this.__setting.class!='')?' '+this.__setting.class:'');dialog.innerHTML='<div class="dialog-close"><span>X</span></div>'+'<div class="dialog-title"><span></span></div>'+'<div class="dialog-content"></div>'+'<div class="dialog-footer"></div>';wrapper.querySelector('#devtools-cell-'+this.__setting.location.replace('-','')).appendChild(dialog);dialog=document.getElementById('devtools-dialog-'+id);dialog.querySelector('.dialog-close').addEventListener('click',function(){devtools.dialog.close(this.parentNode.getAttribute('id').replace(/^devtools-dialog-/,''));},false);}dialog.querySelector('.dialog-close').style.display=(this.__setting.closeButton)?'block':'none';dialog.querySelector('.dialog-title').firstElementChild.textContent=this.__setting.title;dialog.querySelector('.dialog-content').innerHTML=this.__parseTokens(this.__setting.message);dialog.querySelector('.dialog-footer').textContent='';var button,buttonImg,i;for(i=0;i<this.__setting.buttons.length;i++){button=document.createElement('button');button.textContent=this.__setting.buttons[i].text;button.setAttribute('data-devtools-dialog-button',this.__setting.buttons[i].text);if(this.__setting.buttons[i].icon){buttonImg=document.createElement('img');buttonImg.setAttribute('src',this.__setting.buttons[i].icon);buttonImg.setAttribute('alt','');button.insertBefore(buttonImg,button.firstChild);}if(typeof this.__setting.buttons[i].tooltip=='string'){button.setAttribute('title',this.__setting.buttons[i].tooltip);}button.addEventListener('click',this.__setting.buttons[i].callback,false);dialog.querySelector('.dialog-footer').appendChild(button);}var style=document.getElementById('devtools-dialog-style');if(!style||style.className!=this.__setting.theme){if(style){style.parentNode.removeChild(style);}style=document.createElement('style');style.id='devtools-dialog-style';style.className=this.__setting.theme;style.setAttribute('type','text/css');style.textContent=this.__themes[this.__setting.theme].finalcss||(this.__themes._base.css+'\n'+this.__themes[this.__setting.theme].css);document.querySelector('head').appendChild(style);}return id;},close:function(id){if(!id){if(!this.__var.lastDialogId){return false;}id=this.__var.lastDialogId;}var dialog=document.getElementById('devtools-dialog-'+id);if(!dialog){return false;}else{dialog.querySelector('.dialog-close').removeEventListener('click',function(){devtools.dialog.close(this.parentNode.getAttribute('id').replace(/^devtools-dialog-/,''));},false);var inputs=this.getInputs(id);dialog.parentNode.removeChild(dialog);}if(document.querySelector('div[id*="devtools-dialog-"]')==null){var wrapper=document.getElementById('devtools-wrapper');wrapper.parentNode.removeChild(wrapper);var styles=document.querySelectorAll('head style[id^="devtools-dialog-theme-"]');for(var i=0;i<styles.length;i++){styles[i].parentNode.removeChild(styles[i]);}}return inputs;},setDefaults:function(options){this.__userDefaults={};for(var i in options){if(this.__defaults.hasOwnProperty(i)){this.__userDefaults[i]=options[i];}}},defineToken:function(tag,attributes,replacement){if(typeof tag!='string'||/^\w+$/.test(tag)===false){return false;}if(typeof this.__tokens[tag]!='undefined'){return false;}if(typeof attributes=='object'&&attributes!=null){for(var a in attributes){if(!attributes.hasOwnProperty(a)){continue;}if(typeof attributes[a].validation=='undefined'){return false;}}}else{attributes={};}if(typeof replacement!='function'&&typeof replacement!='string'){return false;}this.__tokens[tag]={attributes:attributes,replacement:replacement};return true;},defineTheme:function(name,css,base){if(typeof name!='string'||typeof css!='string'){return false;}if(!/^\w+$/.test(name)||name=='default'){return false;}var cssOut='';var bases={};var baseTmp=base;if(typeof base=='string'){for(var i=0;i<5;i++){if(this.__themes[baseTmp]&&!bases[baseTmp]){cssOut='/* devtools.dialog prerequisite theme: '+baseTmp+' */\n'+this.__themes[baseTmp].css+'\n\n'+cssOut;bases[baseTmp]=true;baseTmp=this.__themes[baseTmp].base;}else{break;}}}else{base=null;}cssOut=('/* devtools.dialog base reset */\n'+this.__themes._base.css+"\n\n"+cssOut+'/* devtools.dialog theme: '+name+' */\n'+css).replace('%theme%',name);this.__themes[name]={base:base,finalcss:cssOut,css:css};return true;},defineHook:function(name,func){if(typeof this.__hooks[name]!='undefined'||typeof func!='function'){return false;}this.__hooks[name]=func;return true;},getInputs:function(id){if(!id){if(!this.__var.lastDialogId){return false;}id=this.__var.lastDialogId;}var dialog=document.querySelector('#devtools-dialog-'+id);if(dialog){var out={},i,j;var simpleInputs=dialog.querySelectorAll('[data-devtools-input="text"], [data-devtools-input="select"]');for(i=0;i<simpleInputs.length;i++){out[simpleInputs[i].getAttribute('name')]=simpleInputs[i].value;}var checkboxInputs=dialog.querySelectorAll('[data-devtools-input="checkbox"]');for(i=0;i<checkboxInputs.length;i++){out[checkboxInputs[i].getAttribute('name')]=(checkboxInputs[i].checked)?true:false;}var radioInputs=dialog.querySelectorAll('[data-devtools-input="radio"]');var radios;for(i=0;i<radioInputs.length;i++){radios=radioInputs[i].querySelectorAll('input');for(j=0;j<radios.length;j++){if(radios[j].checked){out[radios[j].getAttribute('name').split('-')[0]]=radios[j].value;break;}}}return out;}return false;},__var:{lastDialogId:false},__defaults:{title:'Script Notification',message:'This is a dialog from a userscript.',mask:true,closeButton:true,location:'center',buttons:null,theme:'default',class:''},__settingsValidation:{title:['type','string'],message:['type','string'],mask:['type','boolean'],closeButton:['type','boolean'],location:['match',/^(top-left|top|top-right|left|center|right|bottom-left|bottom|bottom-right)$/],buttons:null,theme:null,class:['match',/^[\w- ]+$/]},__themes:{'_base':{css:'#devtools-wrapper,#devtools-wrapper *{border-radius:0!important;-webkit-border-radius:0!important;box-shadow:none!important;-webkit-box-shadow:none!important;background:transparent!important;border:none!important;border-collapse:separate!important;border-spacing:0!important;color:#000!important;float:none!important;font-family:Arial,sans-serif!important;font-size:12px!important;font-weight:400;height:auto!important;letter-spacing:normal!important;line-height:18px!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1.0!important;padding:0!important;text-align:left!important;text-decoration:none!important;text-shadow:none!important;text-transform:none!important;vertical-align:middle!important;visibility:hidden!important;white-space:normal!important;width:auto!important;}#devtools-wrapper .dialog-content fieldset>label>input{position:relative;top:0}'+'#devtools-wrapper{background-color:rgba(0, 0, 0, 0.8)!important;display:block!important;height:100%!important;left:0!important;overflow:auto!important;position:fixed!important;top:0!important;visibility:hidden!important;width:100%!important;z-index:2147483640!important;}'+'#devtools-wrapper.mask{background-color:rgba(0, 0, 0, 0.8)!important;visibility:visible!important;}'+'#devtools-wrapper .grid{display:table!important;height:100%!important;position:fixed!important;visibility:hidden!important;width:100%!important;}'+'#devtools-wrapper .center,#devtools-wrapper .top,#devtools-wrapper .bottom,#devtools-wrapper .left,#devtools-wrapper .right{display:table-cell!important;padding:15px!important;}'+'#devtools-wrapper .left,#devtools-wrapper .center,#devtools-wrapper .right{vertical-align:middle!important;}'+'#devtools-wrapper .top{vertical-align:top!important;}'+'#devtools-wrapper .bottom{vertical-align:bottom!important;}'+'#devtools-wrapper .left .dialog{clear:both!important;float:left!important;}'+'#devtools-wrapper .right .dialog{clear:both!important;float:right!important;}'+'#devtools-wrapper .center .dialog,#devtools-wrapper .bottom .dialog,#devtools-wrapper .top .dialog{margin-left:auto!important;margin-right:auto!important;}'+'#devtools-wrapper .dialog,#devtools-wrapper .dialog *{visibility:visible!important;}'+'#devtools-wrapper .dialog fieldset{border:1px solid #000!important;margin-bottom:10px!important;padding:5px!important;}'+'#devtools-wrapper .dialog legend{padding:0 5px!important;}'+'#devtools-wrapper .dialog input[type="text"],#devtools-wrapper input[type="password"],#devtools-wrapper textarea,#devtools-wrapper select{-moz-appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;-webkit-box-sizing:border-box!important;background:#444!important;border:1px solid transparent!important;box-sizing:border-box!important;-webkit-box-sizing:border-box!important;color:#FFF!important;margin:2px 5px!important;padding:2px!important;width:100%!important;}'+'#devtools-wrapper .dialog input[type="checkbox"],#devtools-wrapper input[type="radio"]{margin-right:6px!important;vertical-align:top!important;}'+'#devtools-wrapper .dialog input[type="radio"]+span{margin-right:12px!important;vertical-align:middle!important;}'+'#devtools-wrapper .dialog .progress-bar{box-sizing:border-box!important;background-color:#fff!important;border:1px solid #000!important;box-sizing:border-box!important;height:20px!important;margin-left:auto!important;margin-right:auto!important;overflow:hidden!important;position:relative!important;width:100%!important;}'+'#devtools-wrapper .dialog .progress-bar-inner{background-color:#000!important;height:100%!important;left:0!important;position:absolute!important;top:0!important;}'+'#devtools-wrapper .dialog .progress-bar-text{height:100%!important;position:relative!important;text-align:center!important;width:100%!important;z-index:1!important;}'+'#devtools-wrapper .dialog .dialog-content br:first-child, #devtools-wrapper .dialog .dialog-content br:last-child{display:none!important;}'+'#devtools-wrapper .dialog strong{font-weight:bold!important;}'+'#devtools-wrapper .dialog em{font-style:italic!important;}'+'#devtools-wrapper .dialog ins{text-decoration:underline!important;}'+'#devtools-wrapper .dialog a:link,#devtools-wrapper .dialog a:hover{color:EE0000!important;text-decoration:underline!important;}'+'#devtools-wrapper .dialog a:visited{color:#74198b!important;}'},'default':{css:'#devtools-wrapper .dialog{border-radius:10px!important;-webkit-border-radius:10px!important;box-shadow:0 0 50px #000!important;-webkit-box-shadow:0 0 50px #000!important;background-color:#eee !important;margin-bottom:5px!important;margin-top:5px!important;padding:5px!important;position:relative!important;width:330px!important;}'+'#devtools-wrapper .dialog .dialog-close span{color:#eee!important;font-size:18px!important;font-weight:700;line-height:25px!important;vertical-align:middle!important;}'+'#devtools-wrapper .dialog .dialog-title{border-radius:5px!important;-webkit-border-radius:5px!important;background-color:#444!important;color:#eee!important;height:15px!important;padding:4px 0 7px 0!important;text-align:center!important}'+'#devtools-wrapper .dialog .dialog-title span{color:#eee!important;font-size:14px!important;font-weight:700;}'+'#devtools-wrapper .dialog .dialog-content{color:#000!important;margin:10px 5px!important;max-width:100%!important;}'+'#devtools-wrapper .dialog .dialog-footer{text-align:center!important;width:100%!important;}'+'#devtools-wrapper .dialog .dialog-footer button{background:linear-gradient(#555,#222)!important;background:-webkit-linear-gradient(#555,#222)!important;border:1px solid #333!important;box-shadow:0 0 1px #666 inset!important;-webkit-box-shadow:0 0 1px #666 inset!important;border-radius:10px!important;-webkit-border-radius:10px!important;color:#FFF!important;cursor:pointer!important;display:inline-block!important;height:25px!important;margin-left:2px!important;margin-right:2px!important;padding:0px 5px!important;}'+'#devtools-wrapper .dialog .dialog-footer button:hover{background:linear-gradient(#222,#555)!important;background:-webkit-linear-gradient(#222,#555)!important}}'+'#devtools-wrapper .dialog hr{background-color:#ddd!important;margin:7px 0 7px 0!important;}'+'#devtools-wrapper .dialog fieldset{border-radius:4px!important;-webkit-border-radius:4px!important;border:1px solid #aaa!important}'+'#devtools-wrapper .dialog label{-moz-box-align:center!important;-webkit-box-align:center!important;display:block!important;font-weight:bold!important;}'+'#devtools-wrapper .dialog label span{font-weight:normal!important;position:relative!important;top:-3px!important}'+'#devtools-wrapper .dialog legend{font-weight:bold!important;}'+'#devtools-wrapper .dialog input[type="text"],#devtools-wrapper input[type="password"],#devtools-wrapper textarea,#devtools-wrapper select{border-radius:4px!important;-webkit-border-radius:4px!important;background:#444!important;border:1px solid transparent!important;color:#FFF!important}'+'#devtools-wrapper .dialog input[type="text"]:focus,#devtools-wrapper input[type="password"]:focus,#devtools-wrapper textarea:focus,#devtools-wrapper select:focus{border:1px solid #444!important;}'+'#devtools-wrapper .dialog input[type="checkbox"] label{display:block!important;}'+'#devtools-wrapper .dialog .progress-bar{border-radius:5px!important;-webkit-border-radius:5px!important;background-color:#fafafa!important;border:1px solid #ddd!important}'+'#devtools-wrapper .dialog .progress-bar-inner{border-radius:5px!important;-webkit-border-radius:5px!important;background-color:#444!important}'+'#devtools-wrapper .dialog .progress-bar-text{text-shadow:#f2f2f2 -1px 0 3px #f2f2f2 0 -1px 3px #f2f2f2 1px 0 3px #f2f2f2 0 1px 3px #f2f2f2 -1px -1px 3px #f2f2f2 1px 1px 3px!important;}#devtools-wrapper .dialog-content div:nth-child(2) label span{position:relative!important;top:0!important}#devtools-wrapper .dialog-content>div:nth-child(2)>label>span{position:relative!important;top:-3px!important}'}},__tokens:{'progressbar':{attributes:{'percent':{defaultValue:'',validation:/^(100|\d{1,2})$/},'calculate':{defaultValue:'',validation:/^\s*\d+\s*\/\s*\d+\s*$/}},replacement:function(tag){var p;if(tag.attributes.calculate!=''){p=/^\s*(\d+)\s*\/\s*(\d+)\s*$/.exec(tag.attributes.calculate);if(p){p=(p[1]/p[2])*10000;p=Math.round(p)/100;}else{p=0;}}else if(tag.attributes.percent!=''){p=tag.attributes.percent;}else{return false;}if(p>100){p=100;}if(p<0){p=0;}p+='%';return'<div class="progress-bar"><div class="progress-bar-text">'+p+'</div><div class="progress-bar-inner" style="width: '+p+' !important;"></div></div>';}},'input':{attributes:{'type':{validation:/^(text|textarea|radio|checkbox|select|password|button)$/},'name':{validation:/^\w+$/},'label':{defaultValue:'',validation:false},'options':{defaultValue:'',validation:/^{.+}$/},'defaultValue':{defaultValue:'',validation:false},'hook':{defaultValue:'',validation:/^\w+$/}},replacement:function(tag){var r=false;switch(tag.attributes.type){case 'text':r='<label>'+tag.attributes.label+'<input type="text" name="'+tag.attributes.name+'" value="'+tag.attributes.defaultValue+'" data-devtools-input="text"/></label>';break;case 'password':r='<label>'+tag.attributes.label+'<input type="password" name="'+tag.attributes.name+'" value="'+tag.attributes.defaultValue+'" data-devtools-input="text"/></label>';break;case 'textarea':r='<label>'+tag.attributes.label+'<textarea name="'+tag.attributes.name+'" data-devtools-input="text">'+tag.attributes.defaultValue+'</textarea></label>';break;case 'checkbox':r='<div><label><input type="checkbox" name="'+tag.attributes.name+'"'+((tag.attributes.defaultValue=='true')?' checked':'')+' data-devtools-input="checkbox"/><span>'+tag.attributes.label+'</span></label></div>';break;case 'radio':try{var options=devtools.JSON.parse(tag.attributes.options);var hash=Math.floor(Math.random()*100000);r='<div data-devtools-input="radio"><fieldset><legend>'+tag.attributes.label+'</legend>';for(var key in options){r+='<label><input type="radio" name="'+tag.attributes.name+'-'+hash+'" value="'+options[key]+'"';r+=((tag.attributes.defaultValue==options[key])?' checked':'')+'/><span>'+key+'</span></label>';}r+='</fieldset></div>';}catch(e){return false;}break;case 'select':try{var options=devtools.JSON.parse(tag.attributes.options);r='<div><label>'+tag.attributes.label+'</label>';r+='<select name="'+tag.attributes.name+'"'+((tag.attributes.hook=='color')?' data-devtools-hook="'+tag.attributes.hook+'"':'')+' data-devtools-input="select">';for(var key in options){if(typeof options[key]=='string'){r+='<option value="'+options[key]+'"';r+=(tag.attributes.hook=='color'&&/^#[0-9a-f]{3,6}$/i.test(options[key]))?' style="background-color:'+options[key]+' !important;"':'';r+=((tag.attributes.defaultValue==options[key])?' selected':'')+'>'+key+'</option>';}}r+='</select></div>';}catch(e){return false;}break;}return r;}}},__hooks:{'color':function(){var el=document.querySelectorAll('[data-devtools-hook="color"]');if(!el){return;}setInterval(function(){var el=document.querySelectorAll('[data-devtools-hook="color"]');if(el){for(var i=0;i<el.length;i++){if(/^#[0-9a-f]{3,6}$/i.test(el[i].value)){el[i].setAttribute('style','background-color: '+el[i].value+' !important');}}}},500);}},__userDefaults:{},__setting:{},__handleHooks:function(){for(var hook in this.__hooks){this.__hooks[hook]();}},__setVars:function(options){this.__setting={};var out=this.__copyObj(this.__defaults);var setting,validationCopy,validationCount,valid;for(setting in this.__userDefaults){if(this.__defaults.hasOwnProperty(setting)){out[setting]=this.__copyObj(this.__userDefaults[setting]);}}if(typeof options=='object'){for(setting in options){if(this.__defaults.hasOwnProperty(setting)){out[setting]=options[setting];}}}for(setting in out){if(setting=='buttons'){this.__setting[setting]=this.__validateButtons(out[setting]);continue;}if(setting=='theme'){this.__setting[setting]=this.__validateTheme(out[setting]);continue;}if(this.__settingsValidation.hasOwnProperty(setting)){validationCopy=this.__copyObj(this.__settingsValidation[setting]);valid=false;switch(validationCopy.shift()){case 'type':for(validationCount=0;validationCount<validationCopy.length;validationCount++){if(validationCopy[validationCount]=='array'){if(out[setting]instanceof Array){valid=true;this.__setting[setting]=out[setting];break;}else if(this.__userDefaults[setting]instanceof Array){valid=true;this.__setting[setting]=this.__userDefaults[setting];break;}}else if(typeof out[setting]==validationCopy[validationCount]){valid=true;this.__setting[setting]=out[setting];break;}else if(typeof this.__userDefaults[setting]==validationCopy[validationCount]){valid=true;this.__setting[setting]=this.__userDefaults[setting];break;}}break;case 'match':for(validationCount=0;validationCount<validationCopy.length;validationCount++){if(validationCopy[validationCount].test(out[setting])){valid=true;this.__setting[setting]=out[setting];break;}else if(validationCopy[validationCount].test(this.__userDefaults[setting])){valid=true;this.__setting[setting]=this.__userDefaults[setting];break;}}break;}if(!valid){this.__setting[setting]=this.__copyObj(this.__defaults[setting]);}}}},__validateButtons:function(buttons){var btns=[];if(typeof buttons=='object'&&buttons instanceof Array){var btnNum,btnAttr,o;button:for(btnNum=0;btnNum<buttons.length;btnNum++){if(typeof buttons[btnNum]!='object'){continue button;}for(btnAttr in buttons[btnNum]){o=buttons[btnNum][btnAttr];switch(btnAttr){case 'text':if(typeof o!='string'){o='';}break;case 'tooltip':if(typeof o!='string'){o=false;}break;case 'icon':if(typeof o!='string'){o=false;}break;case 'callback':if(typeof o!='function'){continue button;}break;}}btns.push(buttons[btnNum]);}}return btns;},__validateTheme:function(theme){if(typeof theme!='string'||theme==''){return this.__defaults.theme;}if(typeof this.__themes[theme]=='object'&&this.__themes[theme]!==null){var t=this.__themes[theme];if(t.base){if(typeof this.__themes[t.base]=='object'&&this.__themes[t.base]!==null){return theme;}else{return this.__defaults.theme;}}else{return theme;}}return this.__defaults.theme;},__parseTokens:function(text){var tagSplitRegex=/({\s*\w+\s*(?:\w+(?:\s*=\s*(?:".*?"|'.*?'))?\s*|\s*)})/;var tagRegex=/{\s*(\w+)\s*(?:(\w+(?:\s*=\s*(?:".*?"|'.*?'))?)+\s*|\s*)}/;var attrRegex=/(\w+)\s*=\s*(".*?"|'.*?')/g;var text_obj=text.split(tagSplitRegex);var i,match,attr,tag;token_search:for(i=1;i<text_obj.length;i+=2){tag={};match=tagRegex.exec(text_obj[i]);tag.name=match[1];tag.attributes={};if(typeof this.__tokens[tag.name]=='undefined'){continue;}if(typeof match[2]!='undefined'){while((attr=attrRegex.exec(match[2]))!=null){attr[2]=attr[2].substring(1,attr[2].length-1);if(typeof this.__tokens[tag.name].attributes[attr[1]]=='undefined'){continue;}if(this.__tokens[tag.name].attributes[attr[1]].validation===false){tag.attributes[attr[1]]=attr[2];}else if(this.__tokens[tag.name].attributes[attr[1]].validation.test(attr[2])){tag.attributes[attr[1]]=attr[2];}else if(typeof this.__tokens[tag.name].attributes[attr[1]].defaultValue=='string'){tag.attributes[attr[1]]=this.__tokens[tag.name].attributes[attr[1]].defaultValue;}else{continue token_search;}}}for(attr in this.__tokens[tag.name].attributes){if(!this.__tokens[tag.name].attributes.hasOwnProperty(attr)){continue;}if(typeof tag.attributes[attr]=='undefined'){if(typeof this.__tokens[tag.name].attributes[attr].defaultValue=='string'){tag.attributes[attr]=this.__tokens[tag.name].attributes[attr].defaultValue;}else{continue token_search;}}}var rep=this.__tokens[tag.name].replacement;if(typeof rep=='string'){text_obj[i]=rep;}else if(typeof rep=='function'){var rep_result=rep(tag);if(typeof rep_result!='string'){continue token_search;}text_obj[i]=rep_result;}}return text_obj.join('');},__copyObj:function(obj){if(obj==null||typeof(obj)!='object'||obj instanceof RegExp){return obj;}var c=new obj.constructor();for(var key in obj){c[key]=this.__copyObj(obj[key]);}return c;
  164.  } }
  165.  
  166.  if(typeof devtools.dialog!='undefined'){devtools.config={open:function(){var msg=(typeof this.__options.html=='string')?this.__options.html+'<hr/>':'';for(var name in this.__options.settings){msg+=this.__options.settings[name].input;}devtools.dialog.open({message:msg,title:this.__options.title,mask:true,buttons:[{text:'Save',icon:this.__icons.save,callback:this.__save},{text:'Save & Reload',icon:this.__icons.save,callback:function(){devtools.config.__save();document.location.reload();}},{text:'Close',icon:this.__icons.close,callback:this.close}],theme:(typeof this.__options.theme.css=='string')?'devtoolsconfig':'default'},'devtools-config');},close:function(){devtools.dialog.close('devtools-config');},get:function(name){if(this.__options.settings[name]!==null&&typeof this.__options.settings[name]!='undefined'){return getValue('devtools-config-'+name,this.__options.settings[name].defaultValue);}return undefined;},getAll:function(){var vals={};var allVals=listValues();for(var val in allVals){if(/^devtools-config-/.test(val)){vals[val]=this.get(val);}}return vals;},init:function(options){if(typeof options!='object'||!options){return false;}if(!options.settings){return false;}if(options.prefix){this.__options.prefix=options.prefix;}this.__options.title=(typeof options.title=='string')?options.title:'Configuration Options';var setting,name;for(name in options.settings){if(!/^\w+$/.test(name)||!options.settings.hasOwnProperty(name)){continue;}this.__options.settings[name]={};setting=options.settings[name];if(typeof setting.type=='string'){if(setting.type=='text'||setting.type=='textarea'||setting.type=='password'){this.__options.settings[name].defaultValue=(typeof setting.defaultValue=='string')?setting.defaultValue:'';this.__options.settings[name].input='{input type="'+setting.type+'" name="'+name+'" defaultValue="'+(this.get(name)||this.__options.settings[name].defaultValue)+'" label="'+((typeof setting.label=='string')?setting.label:'')+'"}';}if(setting.type=='checkbox'){this.__options.settings[name].defaultValue=(setting.defaultValue==true||setting.defaultValue=='true')?true:false;this.__options.settings[name].input='{input type="'+setting.type+'" name="'+name+'" defaultValue="'+((typeof this.get(name)=='boolean')?this.get(name):this.__options.settings[name].defaultValue)+'" label="'+((typeof setting.label=='string')?setting.label:'')+'"}';}if(setting.type=='radio'||setting.type=='select'){this.__options.settings[name].defaultValue=(typeof setting.defaultValue=='string')?setting.defaultValue:'';this.__options.settings[name].input='{input type="'+setting.type+'" name="'+name+'" defaultValue="'+(this.get(name)||this.__options.settings[name].defaultValue)+'" label="'+((typeof setting.label=='string')?setting.label:'')+'"';this.__options.settings[name].input+=' options="'+((typeof setting.options=='object')?devtools.JSON.stringify(setting.options):'')+'"';this.__options.settings[name].input+=((setting.colorHook===true&&setting.type=='select')?' hook="color"':'')+'}';}}}this.__options.html=(typeof options.html=='string')?options.html:false;this.__options.theme.useBase=(options.useBase===false)?false:true;this.__options.theme.css=(typeof options.css=='string')?options.css:null;if(typeof this.__options.theme.css=='string'){devtools.dialog.defineTheme('devtoolsconfig',this.__options.theme.css,((this.__options.theme.useBase)?'default':null));}this.__initSettings=options;return true;},__initSettings:null,__save:function(options){options=devtools.dialog.getInputs('devtools-config');for(var name in options){if(!options.hasOwnProperty(name)){continue;}setValue('devtools-config-'+name,options[name]);}var img=document.querySelector('#devtools-dialog-devtools-config [data-devtools-dialog-button="Save"] img');img.src=devtools.config.__icons.savecomplete;setTimeout(function(){img.src=devtools.config.__icons.save;},2000);devtools.config.init(devtools.config.__initSettings);return true;},__options:{title:'',html:'',theme:{useBase:true,css:false},settings:{},prefix:'my_storage_prefix'},__icons:{save:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKCSURBVHjaYjTL3lPIwMAgD8Q2QKwExDwMDP9ZgDQjw38GMGBmYmRgAuL///8x/PvH8IGNleHO95+/O09N81wDEEAghVqzS61SQOrVpdnBev7/+8/w6w8Q//4H1szJzsTAyMjA8OX7P4YvP/7y33v+xWDhzrszzLK28QMEEBNQvS1I1/pTnxiA+oC2/GfIm3waaBOQA9TFygKxHWTgd6CBf/4xMP5lYGKJd1cW5mRnmwoQQCADJEC2gjT8Bsr+/gNx928gn4WZAWwASO77L6gc0IIDlz8zsLEyM3z/+YcNIIBAXuD68w/scLAiEGACufc/SD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8dGTeMG0A5UlsD5rCSGvF55F4SpqpSm1GmCzPO3LXJy1LXllwvodoMsCpNVy2hbYBjCLRiaZ8u7Dng+QXlu9b4H7ncvBmKbwo YBWR4kaXv3YmAMyoEpjv2PdWUHcP1j1ECqFpyj777YA6Yss9KyuEeDaW0cCsCUJMDjYUE8kr5TNuOzC+JiMI5uz2rmJvNWvidwcJXXx8IAuwb6uMqrY2iVgzbx99/4EmAAarFu0IJle5oAAAAASUVORK5CYII%3D'}};
  167.  }
  168.  
  169.  devtools.config.init({
  170.    title: tvp_0,
  171.    settings: {
  172.      'userid': {
  173.        type: 'text',
  174.        label: tvp_121,
  175.        defaultValue: ''
  176.      },
  177.      'sortdir': {
  178.        type: 'radio',
  179.        label: tvp_1,
  180.        options: {
  181.          'Descending': 'desc',
  182.          'Ascending': 'asc'
  183.        },
  184.        defaultValue: 'desc'
  185.      },
  186.      'theme': {
  187.        type: 'checkbox',
  188.        label: tvp_81,
  189.        defaultValue: false
  190.      },
  191.      'filter': {
  192.        type: 'checkbox',
  193.        label: tvp_82,
  194.        defaultValue: true
  195.      },
  196.      'links': {
  197.        type: 'checkbox',
  198.        label: tvp_83,
  199.        defaultValue: false
  200.      },
  201.      'tags': {
  202.        type: 'checkbox',
  203.        label: tvp_70,
  204.        defaultValue: false
  205.      },
  206.      'stats': {
  207.        type: 'checkbox',
  208.        label: tvp_95,
  209.        defaultValue: true
  210.      },
  211.      'metadata': {
  212.        type: 'checkbox',
  213.        label: tvp_4,
  214.        defaultValue: true
  215.      },
  216.      'auto': {
  217.        type: 'checkbox',
  218.        label: tvp_2,
  219.        defaultValue: false
  220.      },
  221.      'popup': {
  222.        type: 'checkbox',
  223.        label: tvp_5,
  224.        defaultValue: false
  225.      },
  226.      'hiddenmeta': {
  227.        type: 'checkbox',
  228.        label: tvp_80,
  229.        defaultValue: false
  230.      },
  231.      'sizemode': {
  232.        type: 'checkbox',
  233.        label: tvp_93,
  234.        defaultValue: false
  235.      },
  236.      'label': {
  237.        type: 'textarea',
  238.        label: tvp_94,
  239.        defaultValue: tvp_94
  240.      },
  241.      'sidebar': {
  242.        type: 'text',
  243.        label: tvp_90,
  244.        defaultValue: '295px'
  245.      },
  246.      'content': {
  247.        type: 'text',
  248.        label: tvp_91,
  249.        defaultValue: '300px'
  250.      },
  251.      'table': {
  252.        type: 'text',
  253.        label: tvp_92,
  254.        defaultValue: '60%'
  255.      },
  256.      'label2': {
  257.        type: 'textarea',
  258.        label: tvp_108,
  259.        defaultValue: tvp_108
  260.     },
  261.     'tint': {
  262.        type: 'text',
  263.        label: tvp_105,
  264.        defaultValue: '#D5C6A5'
  265.      },
  266.      'nonvisited': {
  267.        type: 'text',
  268.        label: tvp_106,
  269.        defaultValue: '#00A'
  270.      },
  271.      'visited': {
  272.        type: 'text',
  273.        label: tvp_107,
  274.        defaultValue: '#909'
  275.      }
  276.    },
  277.    css: '\
  278.         #devtools-wrapper input[type="text"]{margin:0 5px 0 19px!important;max-width:50px!important;text-align:center!important}\
  279.         #devtools-wrapper .dialog-content>label:not(:first-child){font-weight:normal!important;direction:rtl!important;padding-top:2px!important}\
  280.         #devtools-wrapper .dialog input[type="text"]{margin-top:-2px!important}\
  281.         #devtools-wrapper .dialog-content>label:nth-child(12){font-weight:bold!important;direction:ltr!important}\
  282.         #devtools-wrapper .dialog-content>label:nth-child(16){font-weight:bold!important;direction:ltr!important;margin-right:81px!important;text-align:right!important}\
  283.         #devtools-wrapper .dialog-content>label:nth-last-child(-n+3){direction:ltr!important;text-align:right!important}\
  284.         #devtools-wrapper .dialog-content>label:nth-last-child(-n+3)>input{min-width:140px!important}\
  285.         #devtools-wrapper .dialog-close,#devtools-wrapper textarea{display:none!important}\
  286.         #devtools-wrapper .dialog [data-devtools-input="radio"] label{display:inline!important}\
  287.         #devtools-wrapper .dialog [data-devtools-input="radio"] label>span{position:relative;top:-2px}\
  288.         #devtools-wrapper .dialog .dialog-footer button:first-child{display:none!important}\
  289.         #devtools-wrapper .dialog .dialog-footer button img{margin-right:5px!important;vertical-align:top!important}'
  290.  });
  291.  
  292.  var scriptID = 100937, version = '4.2.0';
  293.  var userid = devtools.config.get('userid');
  294.  var sortdir = devtools.config.get('sortdir');
  295.  var stats = devtools.config.get('stats');
  296.  var metadata = devtools.config.get('metadata');
  297.  var hiddenmeta = devtools.config.get('hiddenmeta');
  298.  var auto = devtools.config.get('auto');
  299.  var popup = devtools.config.get('popup');
  300.  var theme = devtools.config.get('theme');
  301.  var filter = devtools.config.get('filter');
  302.  var tags = devtools.config.get('tags');
  303.  var sidebar = devtools.config.get('sidebar');
  304.  var content = devtools.config.get('content');
  305.  var table = devtools.config.get('table');
  306.  var tint = devtools.config.get('tint');
  307.  var nonvisited = devtools.config.get('nonvisited');
  308.  var visited = devtools.config.get('visited');
  309.  var links = devtools.config.get('links');
  310.  var sizemode = devtools.config.get('sizemode');
  311.  var hideObsolete = getValue('hideObsolete');
  312.  if(!getValue('keyWords')) setValue('keyWords', '');
  313.  if(getValue('keyWords') == 'undefined') setValue('keyWords', '');
  314.  if(getValue('keyWords').indexOf('<>') == -1 && getValue('keyWords') != '')
  315.    setValue('keyWords', getValue('keyWords').replace(/,(?!\s)/g, '<>'));
  316.  if(!getValue('hideObsolete')) setValue('hideObsolete', false);
  317.  if(!getValue('perPageCount')) setValue('perPageCount', '10');
  318.  var keywords = getValue('keyWords');
  319.  var hideObsolete = getValue('hideObsolete');
  320.  
  321.  //var vals = document.cookie.split(/;\s*/);
  322.  //for(var i = 0; i < vals.length; i++) {
  323.    //if(vals[i].split("=")[0] == "user_id") var userID = vals[i].split("=")[1];
  324.  //}
  325.  
  326.  var url = window.location.href.toLowerCase();
  327.  var onUserPage = url.match(/^https?:\/\/userstyles\.org\/users\/\d+/);
  328.  if(onUserPage) var user = document.title.match(/^(.*)?\s-/)[1];
  329.  var loggedIn = onUserPage && $('//a[@href="/logout"]', document, 1);
  330.  var onAllPage = url.match('https://userstyles.org');
  331.  var onMyPage = url.match('https://userstyles.org/users/' + userid);
  332.  var onStylePage = url.match(/^https?:\/\/userstyles\.org\/styles\/\d+/);
  333.  var onBrowsePage = url.match(/^https?:\/\/userstyles\.org\/styles\/browse/);
  334.  var onEditPage = url.match(/^https?:\/\/userstyles\.org\/styles\/\d+\/\edit/);
  335.  var onEdit2Page = url.match(/^https?:\/\/userstyles\.org\/users\/\d+\/\edit/);
  336.  var onEdit3Page = url.match(/^https?:\/\/userstyles\.org\/styles\/edit\/\d+/);
  337.  var onEditPW = url.match(/^https?:\/\/userstyles\.org\/users\/edit_password/);
  338.  var onCreatePage = url.match(/^https?:\/\/userstyles\.org\/styles\/create/);
  339.  var onHelpPage = url.match(/^https?:\/\/userstyles\.org\/help/);
  340.  var onLoginPage = url.match(/^https?:\/\/userstyles\.org\/login/);
  341.  var onDeletePage = url.match(/^https?:\/\/userstyles\.org\/styles\/delete\/\d+/);
  342.  var onUDPage = url.match(/^https?:\/\/userstyles\.org\/styles\/update/);
  343.  var onNewPage = url.match(/^https?:\/\/userstyles\.org\/styles\/new/);
  344.  var onSitePage = url.match(/^https?:\/\/userstyles\.org\/categories\/site/);
  345.  var onCatPage = url.match(/^https?:\/\/userstyles\.org\/categories/);
  346.  var onAppPage = url.match(/^https?:\/\/userstyles\.org\/categories\/app/);
  347.  var onMigratePage = url.match('https://userstyles.org/users/migrate_openid_info/' + userid);
  348.  var styleList = loggedIn ? $('.author-styles')[0] : $('#main-article');
  349.  var styleArray = [], styles = loggedIn ? $('//tbody/tr') : $('.style-brief');
  350.  var styleCount = styles.length, DATA = {}, totalInstalls = 0, totalWeekly = 0, totalObsoleteInstalls = 0;
  351.  var totalObsoleteWeekly = 0, obsoleteCount = $('.obsolete', styleList).length;
  352.  
  353.  addStyle('\
  354. *:focus{outline:none!important}\
  355. #style-table img[src^="https://forum.userstyles.org"]{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAr5JREFUeNqkk09IFFEcx3/v7czOun9cTV1MQjJLqYj0olGHDiZUpCXUpYg6RBZ5KlCioDp1iYjw1EWJEKGE1lrSpIOXdEs7mK2hm7rmuu7quLOzszvOvze9KQ0q7OIPvm+YH7/P7/1+v/ceqn0lwmYMwyYNiZr5h6O+L51HP+epqqlK19xzVGNUnQNHPcI/CXJZBLW9KRf9v+G1o5aGUntOpdfG+nKwzQpKyMQIi4b2MqLKKdVsp65HwUavaLHM+v6mrt05V+m62lTGueZkQHEFYDFjQlwi8DWuMyFe406Us24gpM0/K7tr/cJNyhrYpGtNT6KlYbuzucpnd3dM66gjpMDtPgEmBQOeBSU47EPwpsEDVm+Cipyny51X6IbXLRYTuiJAF6t9rKsnosHrkTQwGQ18HMCnyCqcqbCDr4CFex9leDujQFQ2YU8h60IAFywWi1YPxCz+kCR4jAInd3FwtsoJikIgFlOgJN8GHSMZeD4hwzLGYHdgeM8TRJk8i8UzlNczqeGwoKqprE5LJDDMG3QmBMo8GEK8DqGIDNt8DBTm2kAxCMyKmqbL6RGLxXM0ixyd6v6+LKedeQwZmMjAAk1UV8nBEm2Fl3RQVjVw0PMwaMkyMcn8UlZUYtPdFosXqTN063ggOfX5SVbKriyYmj4UkgC2sLB7hwMkWgnnQKASYmZUNbsYl/hk+EvneFt9r8Uy/K9TXB1vrbtf3HhtEO88dHmaq2rq01R08EAhKiowYXYhba5ExRROjAWSo/1PY/72IcrIP9nWrPH7UlHR2UMJdhYdqbjbL+x/PCofe8cbpwKT8r4Hg8uMJ794LQatszZtbzNE ex6uJ7GySaaWnReC/i53RTVWdM6b+DbzIhMevbQSDMxbM18Ptlio6Ypu9E6sa+yl2kpVQMX+HWCxzH8emlVNak0b2g8BBgCd12EWkPb0JQAAAABJRU5ErkJggg==)}\
  356. #style-table img[class="metafaviconblank"]{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACSUlEQVR42p1TS2gTURQ9k9SO0ZDQkNb6aRC7slCQNrZQ6aIF3bnShUIRrAW7kSyrIpRCF4JRKLgJRQIiuBLBhavSRWlXqYIfImIUaRsJtMF8NNPMmI7nTt6UJO4cOLx5n3vuuefdp6Hluw10cLhGTBD9avkD8Yx4eh/42XheawmOcbhJhp5uTfN7bRs2F6qahh3bNgrAd04TJFn4h4DBT7zAxQGg0+D8FxEkuIaSGg/WpRT3gBckubFPIJl5YHaY8jc4P0IMrawgMjrqkJc2N7E2MoKvW1vo5Pw9UKny/EMgrqma184Ap7f5I5InMhl09PZiO52GWS7j+DCpWU7S44GhlHwBPnE4JwQxnWynSCTuSIYrpomN1VW8HB/HLudXl5dxcmwMr8NhfM7nndIygMFkd4QgxaCosFqER9VbIyTbCeJSsQg9EMBzmplTCiRZGVgXgt0uQJfAPWWorQi6icvM6AuFsDQ5ibfJJHSVpEIU5IKEgCboBxSBey0mcWFxEQNTU1iansZ6IoF2te9R6oqKIOUHBg9zz2roCTl8i15YhoGFYNBZ86q9tnqwkDglxGjUPZoYrjQQyOH+SARWNouPtZqT1f0OEd9YBcu5u3+NPl6jT9Uun5Q0ND+PaqGAN/G444sr36obWL9Gt5FoyAxVHBUf/hDHiOu27ZA9pvslJb2tnr1EFXMPgEdNrZwHzjOwx68MHYxGYeZyeMcOFEW/iR/ADiW/amrl1sfEbF0BINS4z7dRInHWfUxn+/raU+m02UTwP8/5L+luwlcKrAW1AAAAAElFTkSuQmCC)}\
  357. #style-table .undelete{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACB0lEQVR42u2VMUgbURjH/wetpEJBw23Rwc3dXTMlwUKGgEuGclDFEm6WghlKSRbnEIqDZKlDAxmCQjKoRxEUQaG0hgTbamMDgYQEFFHsEP/Pu7MxerkQksl+8Od79+6+7/e97z3uSeizSU8QoDHGjQbWsY1XmObMNXXV+xVohOTxFW8xw6c/1GVXAE3TGm63u3WOizDm9nCKBXg4+v0YRLJKao5FcpFQ2HJpGQW5gKJURGWg8i9gF1W8wyRHJ60QySp5a9XBT0Gsulb1bj8z1Gyb2MAHzHF0bAtortqsXCSXyzJcJRcmDiew8npFf/kNUPYVJBKJ93z6Qm3ZtWiUyYv3ViBYRxTre07noM455/jhwNXs7QFKUzvUuo5sD3hJwJm5CvrG7dHMA+p3FR9jMXxOpRAoBbBYXkQ0GhUxS9QadUBd2AGGmLguEtNLwrP/kmiRs+BEbb6GTCYDn8+HeDyOUCgkYlQqQ/3s5BQNMvFFEwDJZBIzOR73KW52KQjPXw8URUE6nYbf74fePG4z8KsTgLnRd4BsNguv14tIJIJwOIwY26SqqtlCETJrbG53ADNRSvQ+ELjzPQdY+f+A/gFgY7IsS9VqVQzfGIDj1m+sftcjhJzaAYSxkDBdDvqvotwpYJAao8apIbS/N+oGQFT/4GZrF/iCGja8lYk2XhqQR6/Nvl/6N86INyhRcmdFAAAAAElFTkSuQmCC)}\
  358. #style-table .delete{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACEklEQVR42u2VTWgTQRiG36khRSVQQxSyiFBSRALFgoce3RpILgpetTQ0xJ+DJ8VLwAo2hx568y4JCelNUCxCFqILIh7EU7E9NFbwJwSJqRBqe7Hr+8VpSdv8Vc1JBx6+YXbme76ZyWYVetzUvyFwDMOZL5Xq/fOGAVUqnWC3Stb+WLCVvAz82OR8A+hbBr7eAs7y8QpZ/23BVvLD7J/TY49JH7kA3GawyZt9CZ5wzGPbm9I/Y5qwGIsjIyiPjSEQCMDlcuH69DTuxuMIBoPw+/0wTbPlke0R2LbtSOQivGb8TC62qZDzoeefllrI97aCR8PDzoGFhabJyv398M7Nwe12QylVj+FwuC6h4BKnvNA1tb2D4IOhobfHisUdgzVymbjJIfKNeDwe1GryBPfIEnlJPnUSHM3lcl+Wxscxqgc+kBskkUhgdmYGTy2rsXKZclMnX9x9D80EA5ZlrUqC+14vBqtVPJycRDqdRiqVQiwW207cILhGnp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IAW9WmU7q+ZKXU25A7duzfkUHipK+k78WaF5zBel7/PuAHJTcKKN+dhTgAAAAASUVORK5CYII=)}\
  360. #style-table .stats{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAEB0lEQVR42u2Va0xbZRjH/6UX2pUWysqlo3VgJ5Opmc44nHPpRjLxw5yZEbJkEWlUQM0007CFSQYyGqUi02lMtuCELTBRN+OimOF0bLhoIESUuTAgkDXlYu29Hb2eHp9TzwxxlM0sxi+e5PflPc/7/J/L+z6vAP/yJ/hf4JYF0pZVZQolWU8LBOIdZF4QX2SZ0RjjOxHw/tgR8PRZaSVCRP+xgDq34VWJUtksvkuPtUUrsFKrQJRhcXHChcEzI4hdvoKQ32J2T73XQuYuInzTAuq8xnb5nfqy4qoNqN6UjRy5EAc/HoHf7kFFRSEcIRZHzlzB8cavwNgnelzWlkraNksEbyjARS5fld+827wFT94hh0jwp6FlyotQmEGmToUQQ55iwOlxH5rKjoBxDLV6ZttMZDY9P5PrBNJydmYsWaq3bTWVorpIA3ESIOQFYiwVmgiT492VRkjkCjy7/yA6esbRXfcZXNb3S6LhqfNk6iCYBQXUua9Xq4sKzYeaNiNTmhSPXshbxbhdJLCHnH9z6iT2tXZBt+4RXHJFcPiZDxGwnP/UZ+vaT2Zj10p1vUBe49C6mpLVtSX5kFD0nEDSvAxqnzeih5zv+uA45Ks3YtLPYI7SGukewmTn19NOy5vlZPoTYU8gYApte6dcInP4YFirgTZHGc+gpWYXJAE32traUPxCDbRrNkD7gAF2VwjD58YgS5dhsOUUY5+sfYrc9BHWhAJPHCiX+C9Pw7BRD+1yVTyL+vJtqCh9HEaj8S/bNwZs8ASEGPjyZyjyMvC9+QtOoIp+fUdMJOhBw/DmvSV3P7QpH0sodKkQBIuo341LP/RiecE9UGRkI0jNCLIiBFghPJEYLnwygP727hmnpWnfogLpuur6ZYWFdVWm LUhLToKCjlGKmBMSQETNYKkPEWoGV3cfOfbSkXITB7Yfgmvq3Gm//fP2RUskSzOsSNU8NvbcW6W4714N0qjTCkJGmZBOXIDuWFzAE2bhDsXQ3zeOo3tPwDndbIpF3b18kx2JLppUlfNSvVK7as/bHWXQpkuhJM90keF0hxCNRJGuloMOD0XOwmq7ipcffRfBuUEu+pO0/wIxToQSCQi5Sqm0rxxTZN1eXGfeCsODOihFQGvnMAIOLypfXA8vjbazZ8fRsLMLwbBlyDNzuJOPfIhw8tcm4SwSE5rUbONrySkrK3S3LUXZjjUo0KvAMDH8OmpH+0f9mJn1Xov8W7K/yDODeZN1sWmaTGSJkrX3y1If3i6W5q5PEqZkx28047OF50Z/mXP3DsSiLgt/YkaJ3/C3iXqj94DLJJXIJDjnGYSc/3eV+J2P2EZ4sMCbcDMvGg0MiHjHUkLCr3ORBnghzjG70Ob//sm81e8Pp9ifKPmDYxIAAAAASUVORK5CYII=)}\
  361. #style-table #metaOpen{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAABHElEQVR42mNkoDFgHLWAcgvmMvxn4ICy/0Ppv1CaE4jD8JtB2ILlQGNFoOx/UPojEj9i0FuwAmiBKBIfZOgHpCCjOIhAFogj8UGGvoey2YDYl1ILVuGxABTZIYPOgkXwxAgxjAeIxZBUg+LgBxSDIvsnw2NgUMnC9cShmondAisGRET+YUCk//9IGMb/AST/A815zfAG6CMRwhaAwEKGDgZbhnKGd1BD/iEZyIDE/w0WYWR4BmZjuB5/HMAseUvAgmcMn4A0PzbD8VuAbAksuP5CLfkN5T8DBuB3BhZchhO2ANmSz1D+V2iwPAGyfjBw4zOcOAvQLfkKxE8YIKkojrB+4otrmCVniDecNAtAAJZHiDScdAvIAKMWEAQALs1sGThFFJMAAAAASUVORK5CYII=)}\
  362. #style-table #metaClose{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAABQElEQVR42u2SwU4CMRCG/26AaJB4QTl5EXkJEh/BmzGefA1fwZfwABeNz+ILGOEk8QIoaDYidrfOsG26Qdg22dV4YJJN92+m/zedjsAvh9gACgV0m1C8XvT9z3kndpq4Oq7h8j4EZrE/xCvJmL9HQEjmg7k/xJmQNucgALdJECQkSNUFET7mE20ekTW7f6lEP88hP2KUsiDCZT6WQKz3lDY2mkCKIG+07q6DiCzzF5lUnAVgD4IsbrUK8mODR7FdAyYy0VK3ZQEwn7J6RhDSYigxohbWlyErAUgZ7gTAftkmc/U8QWSMKRXxqfBUETgwZ5yA5bhrQTXKVjP0VdpHP33MMUV/Arg9Wg+oUPtOHgoA7KUA/AZmABh2lvcGNwSoa0Csn38aWX3e+++A60OorcC2hCPSP9tBAS3KGxuAM74BGhetGSRRhR0AAAAASUVORK5CYII=)}\
  363. #style-table #metaReset{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAADs0lEQVR42mNkoDFgHLWAEgvYgFgQiAWAmBOIWYCYGYj/AvEnKP4IxD+B+B+pFjDu7Yz9LaOmcV7OPNGEWYSTgYmJnYGRkZnhZIPXVy4xpfesnIKHZ19Zv3zChNtngerfAPEvUizgamzULha9z1oX3biQheUvLwMLDw8DkyAnw+x4KwYTY2UGcW0fBj4V3T/v7p6Zp+ye3Q3U8wibJdgsAAWF0s0N7T18Uuq+LEx8DCwCQAs4gfR/XoboQJMXqhI8X/Tl+f5ZeaSKCenbCry9dXyeonNqA1DfU/TgwmaB4Joii0wD69BWFg4esOGvLm5nEJS1/C+oa8loY2ufHmYpYyYryBb89dNfARN1qUsa8e3a2ydkJkVOPLkOqP8LIQuUz81ImsolJO3OxMbJ8OvVS4bDpw4x/Pv9j8E/tfSUjE1MICiiY2PlPTMVVCb//PGdR0BZ/byovucTGcuwLKDcE7wW6Ojw2SzPiZvLxMKmxsjNxvDl1YM/b9We5rCwMN1iPC27z6VqCTtQ2R8glj7eE9jEwyub8OffRwZRXddrQMtDgeLX8FqQnKwYUmwT0vn/71+l////M3zRfbnLwmJZAFDqO5pSgQVZJtHOEblT/nz4DOKfMk0qynrz5tdZvBYkJipElHsnFDExMZn++fiZYfm9LVnNzdcXQC1ghOL/QCy8vt0i3yF8as3fj18Yfv95d1HXMzyZoAViYhxmW/Jdl0nahij8evOW+enlTRPs6g/0AqWeATHnnraYLxOP7w2TlOR0StMxM9YJ7Tf98+0bw/cPDw+KGjtlANXcIBTJ8jOjDBY5hgRx8srqmv58+eL9jNkTyjs23twLlOP59vjxxbl1Pj9/P/l3P3vpXlVGATbm////Mrw4uXWmvF1c I1DNc0IW8Hh5SUQ3OFvM4OCUvChpFiz18+crzldX9m06cPTU3bjCybXs3JIMbEJCDIx8LAz/3n5n+PPly7fWeb5B7e03DqHHFTYLmIBYIsFevjPLzzDmwLGbDEYKAg9ZmRm/7L/7ViQuLkecU1qOgUNIhmFFcwpDeOXUv49PrOnSj+ubCNT3Cho/eC0AAVZQMvT0lKhrdLFIBAnsPHGD4cuPPwyRPnYMXKIKDKwsQgx/f/9k2Lp50e38BRc9GSBFxW90g/CVpqAiQ1BamlNH/y9/vJg6mwoPA7NsgImEHBcXHwPjTzYGRk4mhrvvnj+QlNYUdapYyIPNEGLqA5BveKAYVGwzIyVVkIs/QjFJpSnVwKgFBAEAKpNDKC1I70QAAAAASUVORK5CYII=)}\
  364. #style-table .metascreenmain{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABE0lEQVR42mMMDQ/+z0ABYAQZsHrlWkZyNIP0wg1IzAwgySXzp29gxDCgwESDoMYXhy4zrOBixW6An6oqg4DMO4b/H+XAij9/+cSwaut+hrToIDD/P9CjP/cfx21AhDEDg4b1RYbHF2wZfn1RZODhZGUwi6lh2DOpCGwAN78ww6d9xwbAgGgXI4ZEPwfCBsTrajKwi7xi+PJWkuH//38MblltKAG4sSufgePqHfwGMLKyMfxjhCSLPx9fMyzYfpxh6Z5zDPunljNw8PDhd0GugSoDMwszKLwZvv1nYeBj/8/w6cNnBsvcyQwHe9MYZOVkGW5vOYHbgCpDOYZvzFzkp4OIb7+JSoU4DaAoKVOUmcjRDAMA4FTt8WGSsBEAAAAASUVORK5CYII=)}\
  365. #style-table .metascreenmore,#more-screenshots .metascreenmore{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABCklEQVR42r3Tz4pFUBwH8N8RRUnZKMVKiWJrYaXcV7CyuN1X8gKWFp5BvIWllBJR/izdmKhR0x1j5qr57b+ffuec70GO4yxwYdAKhGGI3gmv2R2wLOtPmyRJgl4ATdNOg23bQlmW3wOmaQJFUUAQBGRZBsMwQF3XIMvyDnRddwwYhgEsy8I0TVAUBZAkCZ7nofv9vh2PYRhomuYfgXEcIQgCZNv2IgjCOXC73QDDMJjnGeI4hiiKvjzvCnEcdwxIkgQ4ju+BdYOqqjbo8XgsNE3/vIGiKDvwfD63O+j7HnzfR67rLqIoQp7nx4Cu67Asr31K0xRUVT3vAc/zv2rhIXCpypc+0zvhz/kApN4MAC9lC0AAAAAASUVORK5CYII=)}\
  366. #style-table .metadiscussions{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACQUlEQVR42o2STYiSURSG7ydS0oh/G3+QSBHURcRAGrYIMRAkKBE3DYSBoWLKuJAgmRZJ0ES6mlbhD4QFuVBJRXe1Elq0CkVdpBZDVjKImjlR1ntFQ2IyDzzovd+977nnnJchS6FWq48JBIIzIpHogkQiOc9ms0/R/fF43O52u5Ver/eq3++/7XQ63xd3mMUfbG64XK4rGo3GrVQqN1Uq1XEej8eaTqfk4OBg2mw2D+v1+pt2u/04kUi8UCgUX/8I6HQ6Dg5fM5vNt/V6vQLZyVGBy6RSqbQLhcIuXvKk1Wp9mwlYLJZLJpNpz2g0KrhcLlkVKIPkcrn35XJ5u1qt5hipVCqxWq33bDabUy6Xk3WiVquRWCz2tFQqeRk+n38xGAw+tNvtm+t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bGrFNoYEiSqUupXWwmElwcDE6KIiDg3QQhcTEYH3UouCLYgkKWtFSk/7/bR4+0Fb7UIIURYkOghrE8tfFFzXHwaRGS0mHsxzu9/3uvZyDiFBaBFnNESIqrJ6YIiaxdlo/2jpt44SJEMY553wJaCVIkBN8Icp3+pmxpWz5ylSlOJNOccVc4rjg+EmYLsJU/CMgiIkQ3UTJKV19Vrr6qnT1w6SbflUkKvL2O/Z87VitND1tEm/SK7bjtnRRUhTs5yqv0XiHxgfi9DHIRjSq0FiKTovSVb/7kVt8z33SPNqcJ8IZEQGCrKSXMXReMchLYuz9/52z1x3icONEo/izfqnX62cI44Fj7EZngiEyxDg5H1wsS8Jyq32qXRrGG4QuItDLaRKMoJHiCt5yAq7hYZhvDCNcZxvc5DJJ0mjc4BSWcgIRgRe4ybITg2UQ5xxp4mhcIsiiBQkMlmOw5Y8gRgd36SPBWUK4ysIBzEyzpiBYAn1s4h4Xuc95uvAtIF0xTQufaCWAgh6qSHGIUbqJc4AAnjKC2kJ69d9BirGehxxknBAD+DlKHQEWE0ARQBVAcwm8DqPQFxHowUSctTxmHxk6mGQPKdpI4yVDDTnqMGgtwBswMM9dpiiKOKsYYTNT7CDLLt6ynRxbmcaHQRsGNcXkOYLZxgBWbuPgASt4hps3VPMe+3x/8htLFOsrVE+W2wAAABN0RVh0U29mdHdhcmUASmFwbmcgcjExOSfos2EAAAAASUVORK5CYII=)!important}\
  368. #style-table .metafaviconapp{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADRklEQVQ4jV2TT0ybZQCHn/f9+rWlpXylA0opY1hAAgm4McjWEidGF7LT/JO4wxJN1Dk96BUTDzTxoMa7B72o0WTs5IyJJou6bCadYFh0YoKMrRRKKf9KC2352u/7Xi/TLD7nX57T8xMAyTi+ZIoKwMDA+RBSvuP2eJ6p2+q4cGw16p0vHtMetDton7mENZ1MscVDxEPB+8DszN5509XQOBN/9qlAJNKi1YprtD4+xuFBid1vppxA4XeplKohOJdM8ROABLyapr2thPZ5uCv67aXXJoMDO1c0cfVFgpu3CLVHiPT240x+KM3QAD7hdrvdvh+ScUYBZDLOeFNbZ9ORI0ZoovSJZ/erl1Hpm4Bi5MIU4VaDTHaLXKHGg/bnaGhpY3RkRBdCzABoE0d5TDnOK29dPMvw8WHGTw/RGo6SXt+mtrcOtsXdTTd1y8JZncW/cYvEyBOkc9vBRFt1TtpKxJpbWtFcGoHNmzRwyLHePs5ceJOduo7PLVAojCYfLf1jgKJ0UGa4LyyE4HWphOuiQQEcE+x9lLmPcmz++PEagWqOBYZIZ/L8tZhheTmDQoBZIdbXCMgTUsOK+4ItoNWRbTH2qvDn8iYb6b8JDJ1jZWkRaRZwlGIgfxWhFE0NAr/fQCkn6rKUtlwy5SDWHjLYTkjvYa+oc3TwJNnvPiJc2iXkjzLb8x6Bwwy6dNHc2kExn0cIUZGW0qY28tsotwdr6Teol+na/Zn42BAvvfoG4yd70ctZemp3EMpmONZJk99kI19AoOZcDdK8Xdm3KS66CEgLe3cBLdTF9a+/pFhVOECtM4F/5w6RcBtPnz6B8FVZuJdWjuK2dmONSqJDnzAdp7vP1Y3w3EcYBh1dQ9xbyWFWKrgOspzq9TKZ6Mbt bSSTXmf27ooFXPo35bAScvWFU2N67OAQmrPIYBhh9FMqVPD6vbjFPqruoWoX+fT7X51azXo3meJjDeDGGuUno+L+Ui73vIiERNTXjVot46xl8RxWkZUK6D6y5R2+uD7nOJadmk5xGVCCR0jGGUPIa4YRCA/G2mXECODVdXKFTZbSebW2daCA6WSKDwD7vzf+T+IDLgtICCHOKKUMKZi3Fb8AV5Ip5h/d/wN3iGBJByQZzAAAAABJRU5ErkJggg==)}\
  369. #style-table .metafaviconglobal{background:center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADMUlEQVQ4jW2TzU8cZQDGf+/M7M5+8LF8FFBsWVCsUktoSzRA0dSCNmBCvDQkmng28ehl/wJik5486sF466mNNntQ8VCVWloPjTGUUrJLIbDsLrAf3ZnZmfd9x4s1TdPn9Bx+z+/2CJ5Lem4pBSwYhjFhGMZ5QGmt/9Ba/wlcz2cz9Wd58dx4Ph7j+6kzkcTwiR27u2NfWPYE/2y8Fea2i+79B9uOH8jFfDaz/HRjPi1DH3319eTYwZWFmURL7zHbMkwphOlRcceIJgbE+Km/I1NnyolCyb5M34etRw9//uV/QXpu6dL4SP3K7FTZ9kOBaTkU6+/j6RmEaCVirhGJ7HCs7Ranhzet3M7guO6ZXalsLOdFem4pZUd59OVnN7qSCQ9hdvKo8ClucJZEPEosajH00je0x+/ieQGe51N70sHStzNF39evGsDChbe9pGnUaQYJVta+oFgdQWlNECgsc5OG283d9c95XJwgkDGi1j7TZ702YN4SQkymX87FtssXKFRP4QQdxG1F05CEYUifleNEz0+0xdo4rLXRDBIoCYP9OzYMvWOAOB+PueT3T1I4SuMHimYg8ZoBjtdksO9HpFTYkRKdLevUnA5C3UQzKgzDmLYQ6L3DRVLJ30jGy9hRk92jSZTS2BGJ7yuwJFJqlNJ0JDbJFUaouSOE3NNmanhmtLuz91yxNiTePH6dk6+sYkdq7B4M4kuL3dIAj/dfJxEtEjErKBWwd3CavVKv3topXTMIw9vlo5qTarFoTxSQUpHuucOlc1dxXJftUg8PdwbJFwaQUhEEIZXGLPuligusGsCNB5t7bls8wv3cHEpppJQUDjppuBLHbeK4Pkd1myBQuE0bk5CNrWIduGnks5malOqT23+tN1oSH+A0 2/H9kNW1cRqeT8P1aXg+lZqFlIqDJx+zcm/D1Uov5rMZxwSobCxvRo+/21UqV0fH3ngUrTqvkS++h1IK0xB0tsboTvURs1x++LW/Ua54V/PZzHcvOtPFzpRzrb93wE61dyW7UkkRhnBYbejSQdXZ2CrWlVSX89nM7y9843+SFmAeISaEENOADrW+BdwBbuazGedZ/l/lhZP/TH2c8gAAAABJRU5ErkJggg==)}\
  370. .ratingbg{margin:0 auto;position:relative;width:48px;height:16px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAQCAYAAABQrvyxAAACUElEQVR42sWWO6saQRTHz6xG8bFGY8BHl+5CCKQJgTQpAhfzCUSwET+AiKKNjZWVhSAKYmEhon6Bm1sFEkjIB0hzC7ERQSG+d9fXbs5Z2OASlRsD7sDiLDO/M/M/r5XBmdHtdoOKojjD4fADXDCuwbNzBjqdTkiWZYhEIp8uucA1+JMC2u32jdVqfUHz1Wr1KxqN/viXw6/FnxTQarVCHo+H4YDRaAT7/f4+FovJj73AtXh2An5rs9meORwOoBDOZjNYLpdSPB7//MjDr8azRqPxCjfzOLfiZgsWDYfvQLAoiiBJkjqfTqcUSjKIW5T1brcTyYDL5Vr9Jy/ifselPMNCeWe3259ivoHJZAIKGakWBAHm8zmFDsxms2oEIdhut7Ber7VH8vl8ayN5puWb0+lk6A1VKS3SZoLp0eaoHDAvKZywWCwUPOhLKpUSjORVAc1mk8PFW57nGRqC8XisA7Vfr9dLIHmG4K/pdHplNP+niLEWnqCRD4FAgFHeUeEceoCG2+2G4XCo4Pv3TCYzOywmo3hdF6rX628wjM/JC9S6CNTUax0BvSNls9mj3cQIXiegVqu9xzDZOY5T88xisahFRcVEhqjQBoOBnMvl7o9dwAheJ6Bard76/X4TVT0BZISqntoaqd9sNtDv95V8Pn/0024ErxNQqVRCwWCQTSYTNQcREjB8ezTCkxEKba/Xg0KhcHfsAkbwOgHlcvkj5RuCs2Qy+e1wDcP2Gr3iR2OsWCwevYARvE5AqVR6mUgkfsKZges3eMgDHvbX/xIj+N9aU+PUlJfsgQAAAABJRU5ErkJggg==)no-repeat}\
  371. .ratingfg{position:absolute;height:16px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAQCAYAAABQrvyxAAACDElEQVR42sWWvW6cQBDHdw6WD2EEiLV0ubR2lRSRIsXFdXaTFGnyDHmnVHmGvEFewUWU4hrbTeQUZ+SzORaWZTfMKViHcjjORWJHQqx25zfsf5hZgPl8ToYsWq8/Ecd5vaL0DdnDxuDhMQEsTTUBIMvlEvbZwBj8oIBIynN3NnuFY5Flq1sp43/K3kj8oADGmKaUbsZ1XZN8sXhWpunPJ2dvJH6ngITSW5okkW3bRGtNpJRE5Hmz4tx+ysPH5OHtycmCBsFzoNQDx7HAstqyA4IwghjAaudw3DQN0UoRJYQSnK8xAJXy+r94pTLq+2xfHt6fnuZOkgSTyaSnDAHVOmMADIjrOEbr5qs8Vy4AN8lvSgi7fdKqdF2XVFX14Ij37QsNM4OZwLq8u7g4g8PDr0Z5FBBk2dQ7Orq22kV0wMW/wpeXH4CxLzhvkn9oYv/m5qV/fPwNs4BOm3rbykQXoCxLcnd19RHS9PP2KzfF906hECDzGEvQUQjRU9/VYNnWXSGEtev0MMH3BESeVzthaGPTYKPgHa3LBgbhRUEKznd+GU3wfQFhqF3f3zhigO7CY6zrfs45KYpi9wYM8D0BcRRp53cNYqNIzqWSsqYHB353NmMNDm3ABN8XEMcaVdb39wXXOtgODlX1w4vjGQYa3IABvifAKcvvwvNekEesyfPztpHeBdPpH/8lJvhfYn4+c+Rnaa4AAAAASUVORK5CYII=)no-repeat}\
  372. #style-table tr:hover .ratingfg{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAQCAYAAABQrvyxAAACk0lEQVR42sWWTU8TURSG32ln2qGUUiFt+QwaqUWJDQlhwcJo4g8wbDQad66MCzfGFf4Ad7hy419w4cbEaOLHyq+QSFCIgGAtjRFqKUPpdO7cezwVYtpYCGLSucnkTufO8855z9xzphr2GTR/8iokpbXh+ds4xGgGr+0noD6lHBbQfac/+w4TQDP4PQ2o2dSUZrTfBAGylH+pjy6d+6eHN4nf04CcSSpfeFAD6RA/Z0GubAuOZ7YOGkCz+IYG5IfkC5/ZcRaBXk6FAFkZOFY+Y57JDhzo4U3kNef1wAOjrSVNGiV4vyVIUZBhINgNiB+AXQT8fZBVkVKBM0ECSq0px12pCgTjkbn/5FeYTx6W1+jj0FuEYmMIRLjsW/gK14vLK04OKH9lEcE/WgG9f+dcbMO1y3ArPDvWavh4Iuclr+3uN8fXGjcQ4jdUWuSbCizi8CF2ZlE9WFXyzeYpzkQetpVXnI0T0YvWkpf8bwPu9GCYlCrobXEdZh+wNV0Dip25KhYagbO5DntznUjKdPRSadZr/k8Rcy0kiGg1EE/7IfKciWV2LHYFKnyus/sUit8XiBw5fuTy9pvaYvKKr+tC9qveZ4H22HnN7AGsd6xa497o432nw1rL5jqulHsbdQ8v+DoD5efdX8zO/mPQDKCS5SvcDcjPr/Qbi9hcW13YyCyVY9fcUKMAvODrDJSeJqxQVzIMH687/BW31qDcCowgdwipIO0K1hfmVNcN+BsF4AVfb+BJTIR6hnWRz8IuMCxpmVy3qGx3xGiJwAxHkZtbxNFbjT+AXvB1QluPO0m5CiTV+/aJ4ljt2uo9POSkTFRsaEN3GgfgBV8ntPkoej9yYeM69hkzk5jixjA5ehd //S/xgv8FVOBkHauti1YAAAAASUVORK5CYII=)no-repeat}\
  373. #style-table .metalink-open{cursor:pointer;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAB4ElEQVR42p2US0hUURzGf2cKe5mbaGaRU+2UwIW7cCPRpoUbkTbuJBxbBOJGMcSwFiGpWCEyU9oqBmuGFkZFD8kiXChogiguzJ5oaSgkPmH87twrTjN3hmH+8HE/zr3nO9//ca4hOZrwcZIKDnIRwxlieNjiJ6t8YpSXvOa7vtoUdhK3mf9EuqnhCP1kiklu0sMDsT+OYJLQfdrIo5VsYooo92gWs9xt7AulcRILxOzTQiZV7D19hGkX+2Y5M7Tgxc+i28HBQCD+rAuF3J21cZVfPBdbMHRyhXweZpVScgzySjK3xCaM0nqstKpzEprkiwp/XWzIcFdtPUyZW1oBgulrZMU8S9xWF+XNEhqR0Hm37zIW2xb6K6EOsajhDhEKqMpJaEKD2qvk4kItNKhrXTkJPWGcdzyyU7tEEZXM5CTUyDNdnQG72HCUa1oq4Ua6YoeoS52lMNMayhdiEeGzJXRA8FGvQTjHZbKJtyrzU4bE3gjDwuKe5zzBr2lqopzajCK2kxGxj8IH7Pu2nZj8IaGQU1ygVFU7SzHH1U/0G1lhnVldozE5WWVOa2PCqPBD2IrXMek8y9kJ4bQDr5DvvPsn/Ba+Yl/UZcvJ3ka3dngcwWPxRtgc5+Q1BxaPJW7aBZMei+LvQ808AAAAAElFTkSuQmCC)no-repeat;float:right;height:18px;margin:4px -2px 0 0;width:18px}\
  374. #style-table .metalink-close{cursor:pointer;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAACJElEQVR42o2UTUiUURSGnztawzjqwsBB6AdqURCkRIsIWoSbWQQVFUS7CKGtBf0tiiwCQcKKoOhv1SLSgowKgokKMaho3FSrtB9prGyjcatR7L3f9ykz39XBA2c4d+be557znnvGELOnkFkJW5PQmoAVU5CwMPIN+u/Ao274om1/5ZOl50zpogD76uEGFewhdOyCqwp/RMBy0E84VQMnWIA9gd5tcIwwuz+zoLkySTU0wNhYuGhqwhYKZbArcL0dOhV+dpmZl9C4DkbjtwagXC5cZLMeyNkGOPAOHrhcjHLbvwSueaC6OskpPackdzKJHR/3QGfg8Vk4rTBvdM8tlbXXA6VSYeBAVVVYa+cSfkjCH1eYM9/V1lrY5IHyeWhuDheJBHZ62gO9UY82q4sK+4zEGVARGz2QsghKqwz6JVCXwl4zBD0Z2BnfVC1fNHN4HtB9PdQ9cCkADUC7CjjnZZROw8RERdAReHsRbgalHYLVkv2DB6pWTsViEE8aQxHfVsE9jc7tQGx91NyFw1k4Oa/Yg4PYlpYyyEF4fzloHD1uhwNJVTJ90N0Ku1mAXYDho8qCYFp4Jh+dmbXF8mXnVXYbtFWCRJlIWl7InxPOW7F0+vXPwdK1sGU77FgPaxqh3kk9ArZft6qGYWnyUd+9lr+Sf5X/c4dN7EKXmSaG5ZGLRW30m2uh3i+fCAfVTfRsD+KgoNkRMO0aEcVEN/+O3MVl7+E/HP2k4vDLCT0AAAAASUVORK5CYII=)no-repeat;float:right;height:18px;margin:4px -2px 0 0;width:0}\
  375. #summary,#style-table{font-family:Ubuntu,Verdana!important;font-size:9pt!important}\
  376. #summary{border-radius:8px 8px 0 0;-webkit-border-radius:8px 8px 0 0;background-color:#444;color:#e5e5e5;margin:0;padding:5px 8px 0 8px;min-width:400px;text-shadow:2px 2px 2px #000}\
  377. #summary .good,#summary .ok,#summary .bad{font-weight:bold}\
  378. #summary label.good{color:#090}\
  379. #summary label.bad{color:#F00}\
  380. b.b{margin:0 2px 0 4px}\
  381. label.good,label.ok{margin-right:8px}\
  382. b.total,b.weekly{margin-right:10px}\
  383. #summary b.good,#summary b.ok,#summary b.bad{color:#E5E5E5}\
  384. #summary label:not(.good):not(.bad){color:tan}\
  385. #summary #ok{color:#FD0}\
  386. #summary:hover{cursor:default}\
  387. #summary #lastcheck{color:tan!important;margin:0 0 4px 0!important}\
  388. #summary #resetBtn{-moz-appearance:none!important;-webkit-appearance:none!important;background:-moz-linear-gradient(#777, #444)!important;background:-webkit-linear-gradient(#777, #444)!important;border:1px solid #777!important;border-radius:4px!important;-webkit-border-radius:4px!important;box-shadow:0 0 1px #777 inset!important;-webkit-box-shadow:0 0 1px #777 inset!important;color:#FFF!important;margin:0 0 0 8px!important;padding:2px 4px!important}\
  389. #summary #resetBtn:hover{background:-moz-linear-gradient(#444, #777)!important;background:-webkit-linear-gradient(#444, #777)!important}\
  390. #table-container{background:rgba(255,255,230,.5);border-radius:0 8px 0 0;-web-kit-border-radius:0 8px 0 0;border:2px solid #444;display:inline-block;margin:0}\
  391. #style-table tr:not(.obsolete) a[href]{color:#000!important;}\
  392. #style-table{width:100%;border-collapse:collapse;margin:0}\
  393. #main-article #style-table tr.obsolete a{color:#666!important;font-style:italic!important;text-shadow:none!important}\
  394. #style-table tr.obsolete:hover{background:rgba(44,44,44,.3)!important}\
  395. #main-article #style-table tr.obsolete:hover td a{color:#444!important}\
  396. #main-article #style-table tr.obsolete:hover td a:hover{color:#000!important}\
  397. #style-table tr.obsolete:hover td a:hover{color:#FFF!important}\
  398. #style-table tr:hover td{background-color:rgba(0,0,0,.1)}\
  399. #style-table td,#style-table th{border:1px solid #444!important;height:24px;line-height:24px;padding:0 4px;text-align:center!important}\
  400. #style-table th:nth-child(2),#style-table td:nth-child(2){min-width:428px;padding:0 4px;text-align:left!important}\
  401. #style-table th{background:#444;color:tan;height:26px;padding:0 4px 0px 4px;text-shadow:1px 1px 2px #000}\
  402. #style-table th:hover{color:#FFF;cursor:pointer}\
  403. #style-table a{margin-right:15px;text-decoration:none!important;line-height:20px}\
  404. #main-article #table-container #style-table a:hover{text-decoration:none}\
  405. #main-article #style-table a{font-style:normal!important;font-family:inherit!important;font-weight:normal!important;font-size:inherit!important}\
  406. #style-table td a{margin-right:5px}\
  407. #style-table .url{color:red!important;margin-right:5px}\
  408. #style-table img[class^=\"metafavicon\"]{margin-right:4px;vertical-align:top;width:16px;height:16px;display:inline-block}\
  409. #style-table th:nth-child(2){line-height:24px}\
  410. #style-table td:nth-child(2) a:not(.metascreenmain):not(.metascreenmore):first-child{padding:1px 0}\
  411. #style-table th:nth-child(7),#style-table td:nth-child(7){width:82px}\
  412. #style-table>tr:not(:first-child):hover{background-color:#444}\
  413. #style-table>tr:not(:first-child):hover *{color:#FFF;text-shadow:1px 1px 2px #000}\
  414. #style-table>tr:not(:first-child):hover>*{background-color:transparent}\
  415. #style-table tr:not(.obsolete) td *{color:#000;text-shadow:1px 1px 2px #999}\
  416. #style-table tr.obsolete td a,#style-table tr.obsolete td *{color:#666}\
  417. #style-table tr:not(.obsolete):hover a{color:tan!important}\
  418. #style-table th:hover .header{color:tan;cursor:default}\
  419. #style-table tr:hover a:hover{color:#FFF!important}\
  420. #summary,#style-table th,#style-table td:nth-child(1),#style-table td:nth-child(3),#style-table td:nth-child(4),#style-table td:nth-child(5),#style-table td:nth-child(6),#style-table td:nth-child(7){-moz-user-select:none!important;-webkit-user-select:none!important;cursor:default!important}\
  421. #style-table td:nth-child(1){padding:0!important;width:32px!important}\
  422. #style-table #metaOpen,#style-table #metaClose,#style-table #metaReset,#style-table .meta .metascreenmain,#style-table .meta .metascreenmore,#style-table .meta .metadiscussions{float:right}\
  423. #style-table #metaOpen,#style-table #metaClose,#style-table #metaReset{height:24px;margin:-1px -5px 0 0;width:24px}\
  424. #style-table #metaClose,#style-table #metaReset{margin-right:2px}\
  425. #style-table #metaOpen,#style-table #metaClose,#style-table #metaReset{border-radius:100%;-webkit-border-radius:100%;border:1px solid transparent!important}\
  426. #style-table #metaOpen:hover,#style-table #metaClose:hover,#style-table #metaReset:hover{background-color:#FFF!important}\
  427. #style-table #obsBtn{-moz-appearance:none;-webkit-appearance:none;border:1px solid;border-radius:4px;-webkit-border-radius:4px;color:#FFF;font-weight:bold;opacity:.6;margin:0;padding:1px 4px}\
  428. #style-table #obsBtn:hover{opacity:1}\
  429. #style-table th img{position:relative;right:-5px;top:-1px}\
  430. #style-table .edit,#style-table .delete,#style-table .undelete,#style-table .stats{float:right;height:24px;margin:0;width:24px}\
  431. #style-table .meta{display:inline;color:gray;font-size:90%!important}\
  432. #style-table .meta .metascreenmain,#style-table .meta .metascreenmore,#more-screenshots .metascreenmore,#style-table .meta .metadiscussions{height:16px!important;width:16px!important}\
  433. #style-table .meta .metascreenmain,#style-table .meta .metascreenmore{margin:4px 2px 0 0!important}\
  434. #style-table .metadiscussions{margin:4px 1px 0 0!important}\
  435. #style-table .metascreenmain,#style-table .metascreenmore{background-color:#999!important}\
  436. #style-table .metascreenmain:hover,#style-table .metascreenmore:hover{background-color:#FFF!important}\
  437. #style-table td .meta>div:not(.metadiscussions){position:relative!important;top:-4px!important;margin-bottom:-5px!important;vertical-align:top!important}\
  438. #style-table img[class^="metafavicon"]{margin-top:-2px!important;vertical-align:middle!important}\
  439. #style-table tr:hover span.url,#style-table tr:not(.obsolete):hover td span.date{color:tan!important}\
  440. #style-table tr.obsolete:hover td span.url,#style-table tr:hover span.date{color:#444!important;text-shadow:none!important}\
  441. #style-table span.diffP{color:#009900!important}\
  442. #style-table span.diffN{color:#FF0000!important}\
  443. #style-table span.diffP,#style-table span.diffN{padding-left:4px!important}\
  444. #style-table td span.diffP,#style-table td span.diffN{font-size:80%!important}\
  445. #popup_container{display:none;position:fixed;top:2px;box-shadow:2px 2px 2px #000 inset,4px 4px 8px #000;-webkit-box-shadow:2px 2px 2px #000 inset,4px 4px 8px #000;background:rgba(44,44,44,.85);border:2px solid;-moz-border-top-colors:#000 #999;-moz-border-left-colors:#000 #999;-moz-border-right-colors:#000 #999;-moz-border-bottom-colors:#000 #999;border-radius:8px;-webkit-border-radius:8px;padding:16px;z-index:1000}\
  446. .popup_right{right:2px}\
  447. .popup_left{left:2px}\
  448. #popup_container img{box-shadow:4px 4px 8px #000;-webkit-box-shadow:4px 4px 8px #000;display:block!important}\
  449. .date2{margin-left:8px}\
  450. #main-article h2{display:none!important}\
  451. #left-sidebar #filter-block,#left-sidebar #related{border-radius:8px!important;-webkit-border-radius:8px!important}\
  452. #related>h2{text-decoration:underline!important}\
  453. #main-header a:hover{cursor:pointer!important}\
  454. section#obsoletion-message{background:-moz-linear-gradient(#B50000, #640000)!important;background:-webkit-linear-gradient(#B50000, #630000)!important;border:1px solid #B50000!important;border-radius:8px!important;box-shadow:1px 1px 1px #000 inset!important;display:-moz-box!important;margin:0 10px 10px 18px!important;padding:6px!important;position:relative!important;top:0!important;min-width:100px!important;text-shadow:1px 1px 2px #000!important}\
  455. #main-article section#obsoletion-message h2{margin-left:0!important;text-align:center!important}\
  456. #main-article section#obsoletion-message p{color:#FFF!important;margin:0!important}\
  457. #main-article section#obsoletion-message a{color:#999!important}\
  458. #main-article section#obsoletion-message a:hover{color:#FFF!important}\
  459. #left-sidebar #search-terms{width:85%!important}\
  460. #show-code{background:none!important;margin:0 0 0 0!important;padding:0!important}\
  461. #show-button{padding:4px!important;text-align:center!important;width:76px!important}\
  462. #show-code pre#view-code{border-radius:8px!important;-webkit-border-radius:8px!important;background:#F2F2F2!important;border:2px solid #000!important;max-height:90%!important;overflow-y:auto!important;position:fixed!important;text-shadow:1px 1px 2px #000!important;z-index:6!important}\
  463. #stylish-code{color:#000!important;font-family:monospace!important;font-size:15px!important;padding:10px!important;text-shadow:none!important;white-space:pre-wrap!important;word-wrap:break-word!important}\
  464. #post-install-ad{display:none!important}\
  465. footer>p{margin:0!important}\
  466. footer>p>a{color:#9043CC!important;text-decoration:underline!important}\
  467. #left-sidebar #labelGroup{-moz-user-select:none!important;padding:3px!important}\
  468. .install-status.install-info{text-shadow:1px 1px 2px #000!important}\
  469. #left-sidebar a{display:block!important}\
  470. body:not(#f) a#userProfile{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}\
  471. #left-sidebar li#contact{margin:4px 0 0 0!important}\
  472. #left-sidebar li#contact *{display:inline!important}\
  473. #left-sidebar nav footer p>a{display:none!important}\
  474. #left-sidebar li.more{margin:6px 0 0 0!important}\
  475. #left-sidebar a#email,#left-sidebar a#pm{color:#000!important}\
  476.  ');
  477.  
  478. //===================================== Change Log ==========================================================
  479. addStyle('\
  480. ');
  481. //===========================================================================================================
  482.  
  483.  if(theme) {
  484.    addStyle('\
  485. body,#devtools-wrapper .dialog{background:'+ tint +' url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAYOUlEQVR42m3cha4j1xKFYZ8wT/B9/ZyJFOZkwox3/r7na62x0pJlu2FD7YJVsPvu008/vf7555+XjgcPHlz++eefy6+//nq5u7u7dL7vV1555fLDDz9cnn/++cuzzz57+frrry9PPvnkcf9vv/12+euvvy7//vvvcc0zzz333OWnn366PPPMM+fvv//++/jd9wsvvHD5448/jt/12fOd+/777y9PPfXU5emnnz76+P3334976rvvJ5544hhr9/S/e3rW+LreGLretf43xu5pLP3uWp/GWd/u79P1znU0nu7pXONpLPr48ccfj/neffXVV9cIZpB1UgN9Ikz/e+C77747HqihBtvgIkbf7u15xOiZ2u3b7661GA20dnumwSNMbf3yyy/Hd30hbr8jdoOu/57tns4ZU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Sluu3Cr6zdMuVNlNMXSgBDMOpfzjBD6pAW9hIn3X9aCD2BuuFnvbN5MD1BuP3Hq92224roM/dJb2NkvHqgPdgDLDah44l148N1xj49utAaDFJseB5R3g7gyqLS+SwA37lguWc6PLG+JHpNq4faEiERfE2JfiiM/xdriLyn5xDAQBTjEIXqZLfcgLcek2lQCG1ef/AADWAmx+VRhyAAAAAElFTkSuQmCC)fixed!important;margin:0!important}\
  486. :root body{max-width:100%!important;width:100%!important}\
  487. #main-header{background:#404040!important;border-radius:0!important;-webkit-border-radius:0!important;color:tan!important;height:36px!important;margin:0!important;padding:1px 0 0 6px!important;position:fixed!important;text-shadow:2px 2px 2px #000!important;width:100%!important;z-index:99!important}\
  488. #main-header h1 a{font-style:italic!important;text-decoration:none!important;font-family:Georgia,Segoe,Times!important}\
  489. #main-header a,#left-sidebar a{color:tan!important;}\
  490. #main-header>h1,#main-header a:hover{color:#FFF!important}\
  491. #main-article div h2{display:-moz-box!important;margin:0 0 0 10px!important}\
  492. #main-article>p:first-child{margin-top:0!important}\
  493. #left-sidebar{float:none!important;left:0!important;position:fixed!important;top:36px!important;margin:0!important;}\
  494. #left-sidebar>*{border-radius:6px!important;-webkit-border-radius:6px!important;margin:4px 0 4px 4px!important;padding:6px!important}\
  495. #left-sidebar dl,#left-sidebar dd{margin:6px 0 0 0!important}\
  496. #left-sidebar dl a{color:tan!important;text-decoration:none!important}\
  497. #left-sidebar dl dt{display:none}\
  498. #left-sidebar dl dd a{display:block!important}\
  499. #left-sidebar>nav,#left-sidebar>div,#related{background:rgba(44,44,44,.9)!important;color:tan!important;text-shadow:1px 1px 2px #000!important}\
  500. #left-sidebar a,#front-page-best a,#front-page-newest a{display:block!important;text-decoration:none!important}\
  501. #left-sidebar a{margin-top:4px!important}\
  502. #left-sidebar a:hover{color:#FFF!important;}\
  503. #left-sidebar dl>dd>a{font-family:monospace!important;white-space:pre-wrap!important;word-wrap:break-word!important}\
  504. #left-sidebar #show-advanced-search{-moz-appearance:button!important;-webkit-appearance:button!important;color:#000!important;float:none!important;font-size:12px!important;left:100%!important;margin:0 0 -22px -75px!important;padding-right:4px!important;position:relative!important;text-align:center!important;text-decoration:none!important;text-shadow:none!important;top:5px!important;width:65px!important}\
  505. #left-sidebar #advanced-search{border:none!important;margin-bottom:-28px!important}\
  506. #left-sidebar #advanced-search select{font-size:15px!important;height:21px!important;margin-top:4px!important}\
  507. #left-sidebar #advanced-search-submit{margin-top:4px!important}\
  508. #left-sidebar #sort-select{margin-right:4px!important}\
  509. #left-sidebar select>option{background:#444!important;color:tan!important}\
  510. #left-sidebar select>option:hover,a#show-button{color:#FFF!important}\
  511. #left-sidebar #search-submit{padding:2px 4px 6px 4px!important}\
  512. #left-sidebar .more{border-top:2px groove tan!important}\
  513. #main-article>h2,#main-article>p:first-child>hr{display:none}\
  514. #subcategory-list{-moz-column-count:3!important;}\
  515. #main-article div.pagination{background:#444!important;border-radius:0 0 5px 5px!important;-webkit-border-radius:0 0 5px 5px!important;height:23px!important;margin:-3px 0 0 0!important;padding:3px 4px 0 0!important}\
  516. #main-article div.pagination a,#main-article div.pagination span{color:tan!important;font-weight:bold!important;margin:0 4px!important;padding:4px!important;text-decoration:none!important;text-shadow:1px 1px 2px #000!important}\
  517. #main-article div.pagination span{padding:2px!important}\
  518. #main-article div.pagination span.current,#main-article div.pagination span.current:hover{color:#FFF!important}\
  519. #main-article div.pagination span.current{border-bottom:1px solid #444!important}\
  520. #main-article div.pagination a:hover,#main-article div.pagination span:hover{color:#FFF!important;text-decoration:none!important}\
  521. #main-article div.pagination .prev_page{margin-left:4px!important}\
  522. #main-article div.pagination a:not([class]):hover{color:#FFF!important}\
  523. #main-article div.pagination a{border-radius:5px!important;-webkit-border-radius:5px!important;-moz-box-shadow:2px 2px 2px #000!important;-webkit-box-shadow:2px 2px 2px #000!important;background:rgba(44,44,44,.75)!important;border:1px solid #000!important;padding:2px 4px!important}\
  524. #main-article div.pagination a:hover{background:tan!important}\
  525. #main-article div.pagination span.disabled,#main-article div.pagination span.gap{color:#999!important}\
  526. #main-article div.pagination span.gap{position:relative!important;top:5px!important}\
  527. #main-article div.pagination *:not(:last-child){margin-right:-2px!important}\
  528. #main-article #screenshots{border-color:#444!important;box-shadow: 3px 3px 3px #444444 !important;min-height:32px!important}\
  529. #subcategory-list a:hover{text-decoration:underline!important}\
  530. #metaOption,#show-button,#main-article #control-panel a,#left-sidebar #show-advanced-search,#left-sidebar button,#left-sidebar input[type="submit"],#main-article input[type="submit"],#main-article input[type="button"],input[name^="new_screenshot_description_"],#style_pledgie_id{-moz-appearance:none!important;-webkit-appearance:none!important;background:-moz-linear-gradient(#777, #444)!important;background:-webkit-linear-gradient(#777, #444)!important;border:1px solid #444!important;border-radius:4px!important;-webkit-border-radius:4px!important;box-shadow:0 0 2px #777 inset!important;-webkit-box-shadow:0 0 1px #777 inset!important;color:#FFF!important;padding:4px!important;text-shadow:1px 1px 2px #000!important;}\
  531. #metaOption:hover,#main-article #control-panel a:hover,#left-sidebar #show-advanced-search:hover,#left-sidebar button:hover,#left-sidebar input[type="submit"]:hover,#main-article input[type="submit"]:hover,#main-article input[type="button"]:hover,#show-button:hover,input[name^="new_screenshot_description_"]:hover,#style_pledgie_id:hover{background:-moz-linear-gradient(#444, #777)!important;background:-webkit-linear-gradient(#444, #777)!important}\
  532. #labelGroup,#left-sidebar input,#left-sidebar select,#style-options select,#main-article input[type="text"],#main-article input[type="url"],#main-article input[type="password"]{-moz-appearance:none!important;-webkit-appearance:none!important;background:#555!important;border:1px solid #777!important;border-radius:4px!important;-webkit-border-radius:4px!important;box-shadow:0 0 1px #777 inset!important;-webkit-box-shadow:0 0 1px #777 inset!important;color:#FFF!important;text-shadow:1px 1px 2px #000!important;}\
  533. #left-sidebar input,#main-article input[type="text"],#main-article input[type="url"]{padding:4px!important}\
  534. #front-page-best,#front-page-newest{margin:20px!important;padding:10px 20px 10px 0!important}\
  535. #subcategory-list{margin:0 10px!important;padding:10px 10px 10px 30px!important}\
  536. #subcategory-list,#front-page-best,#front-page-newest{background:rgba(255,255,230,.3)!important;border:1px solid #444!important;border-radius:10px!important;-webkit-border-radius:10px!important;box-shadow:3px 3px 3px #444!important;-webkit-box-shadow:3px 3px 3px #444!important}\
  537. #subcategory-list li,#front-page-best li,#front-page-newest li{margin:3px 0!important}\
  538. #main-article .form-controls textarea{border-radius:8px!important;-webkit-border-radius:8px!important;background:#444!important;border:none!important;color:#FFF!important;padding:8px!important;text-shadow:1px 1px 2px #000!important;width:98%!important}\
  539. #main-article #screenshots{background:rgba(255, 255, 230, 0.5)!important}\
  540. #additional-info,#license,#discussions-area{clear:both!important;float:left!important}\
  541. #control-panel{margin-top:2px!important}\
  542. #main-article #control-panel a{-moz-appearance:button!important;-webkit-appearance:none!important;color:#FFF!important;text-decoration:none!important}\
  543. #show-code pre#view-code{background:#222!important;border:none!important;text-shadow:1px 1px 2px #000!important}\
  544. #stylish-code{color:tan!important;text-shadow:1px 1px 2px #000!important}\
  545. #style-options{-moz-column-count:2!important;-webkit-column-count:2!important;background:rgba(255,255,230,.3)!important;border:1px solid #444!important;border-radius:8px!important;box-shadow:3px 3px 3px #444444!important;-webkit-border-radius:8px!important;-webkit-box-shadow:3px 3px 3px #444444!important;padding:8px 8px 8px 24px!important}\
  546. #style-options li{margin:2px 0!important}\
  547. #miscellaneous-info tr:last-child td{float:left!important}\
  548. #metaOption:hover{cursor:pointer!important}\
  549. #content-wrapper{margin-top:40px!important}\
  550. #main-article a{color:'+nonvisited+'!important;font-family:Georgia,Segoe,Times!important;font-size:110%!important;font-style:italic!important;font-weight:normal!important;text-decoration:none!important}\
  551. #main-article a:visited{color:'+visited+'!important}\
  552. #main-article a:hover{text-decoration:underline!important}\
  553. #main-article #style-table a{text-decoration:none!important}\
  554. #main-article > div a,#main-article #subcategory-list a,#main-article div.pagination a{font-family:inherit!important;font-size:inherit!important;font-style:normal!important}\
  555. #main-article div.pagination a:visited{color:#888!important}\
  556. #main-article div.pagination a:visited:hover{color:#FFF!important}\
  557. footer>p>a{color:tan!important;text-decoration:none!important}\
  558. #main-article .install-status a{color:#BBB!important;text-shadow:1px 1px 2px #000!important}\
  559. #content-wrapper{width:99%!important}\
  560. #main-article #control-panel a{position:relative!important;top:3px!important}\
  561. nav>footer>p{display:inline!important}\
  562. .more{font-size:100%!important;font-weight:bold!important}\
  563. .more>a{font-size:smaller!important;font-weight:normal!important}\
  564. .screenshot-thumbnail img{box-shadow:0 4px 10px 2px rgba(0,0,0,0.5)!important;max-height:100%;max-width: 100% !important;}\
  565. .screenshot,#main-screenshot{border:medium none!important;border-radius:1px!important;}\
  566. .screenshot{image-rendering:optimizequality!important;}\
  567. #left-sidebar #btnCont>*{display:inline!important;height:24px!important;padding:0 4px!important}\
  568. #left-sidebar #btnCont{background:none!important;display:inline!important;padding:0!important}\
  569. #metaOption{margin-right:10px!important;padding:4px!important}\
  570. #left-sidebar #show-button{padding:2px 4px 3px 4px!important}\
  571. #left-sidebar a#email,#left-sidebar a#pm{color:tan!important}\
  572. #left-sidebar a#email:hover,#left-sidebar a#pm:hover{color:#FFF!important}\
  573.    ');
  574.  }
  575.  
  576.  var yyy = document.body.querySelector("a[href='/contact']");
  577.  var contact = $c('li', {id:'contact'});
  578.  var contact1 = $c('a', {id:'email',  href:"mailto:jason.barnabe@gmail.com", textContent:"E-mail"});
  579.  var contact2 = $c('label', {id:'or', textContent:"  Or  "});
  580.  var contact3 = $c('a', {id:'pm', href:"https://forum.userstyles.org/messages/add/JasonBarnabe", textContent:"PM"});
  581.  var contact4 = $c('label', {id:'jason', textContent:"  Jason (np)"});
  582.  contact.appendChild(contact1);
  583.  contact.appendChild(contact2);
  584.  contact.appendChild(contact3);
  585.  contact.appendChild(contact4);
  586.  yyy.parentNode.appendChild(contact);
  587.  
  588.  var metaOp = $c('button', {id:'metaOption', textContent:tvp_104, title:tvp_54}, [{type:'click', fn:function(e) {e.preventDefault(); devtools.config.open();}}]);
  589.  var mhd = $('#main-header');
  590.  var ost = $('#content-wrapper').offsetTop;
  591.  var ltsb = $('#left-sidebar');
  592.  var sbw = ltsb.clientWidth;
  593.  var cww1 = $('#content-wrapper').clientWidth - content.split('px')[0] - 23;
  594.  var cont = $c('ctrl', {id:'btnCont'});
  595.  cont.appendChild(metaOp);
  596.  if (theme && $('#show-button')) cont.appendChild($('#show-button'));
  597.  ltsb.appendChild(cont);
  598.  var cww2 = $('#content-wrapper').clientWidth - sbw - 24;
  599.  var zzz = $('A', $('#main-header'), 1);
  600.  zzz.title = tvp_3;
  601.  var aaa = zzz.offsetWidth;
  602.  var hhh = $('H1', mhd, 1);
  603.  hhh.innerHTML = hhh.innerHTML.replace('-', '');
  604.  var xxx = content.split('px')[0] - aaa - 12;
  605.  addStyle('\
  606. #main-header>h1>a{margin-right:'+xxx+'px!important}\
  607.  ');
  608.  
  609.  var cw = $('A', $('#content-wrapper'));
  610.  var re = $('A', $('#related'));
  611.  for(var i = 0; i < cw.length; i++) cw[i].title = cw[i].href;
  612.  for(var i = 0; i < re.length; i++) re[i].title = re[i].href;
  613.  
  614.  if($('#related')) {
  615.    var vvv = document.body.querySelector("#related .more");
  616.    vvv.firstChild.textContent = tvp_111;
  617.  }
  618.  
  619.  if($('#control-panel')) {
  620.    var cp = $('#control-panel').children;
  621.    for(var i = 0; i < cp.length; i++) cp[i].textContent = cp[i].textContent.replace(/\[|\]/g, '');
  622.  }
  623.  
  624.  if(sizemode) {
  625.    var aaa = sidebar.split('px')[0] - 4;
  626.    var bbb = content.split('px')[0] - 1;
  627.    addStyle('\
  628. #left-sidebar{width:'+sidebar+'!important}\
  629. #main-article{margin-left:'+content+'!important}\
  630. div.pagination{width:'+table+'!important}\
  631. #table-container{width:'+table+'!important}\
  632. pre#view-code{left:'+bbb+'px!important;top:'+ost+'px!important;width:'+cww1+'px!important}\
  633.    ');
  634.  }
  635.  
  636.  if(!sizemode)
  637.    addStyle('\
  638. pre#view-code{left:'+sbw+'px!important;top:'+ost+'px!important;width:'+cww2+'px!important}\
  639.    ');
  640.  
  641.  if(filter) {
  642.    addStyle('\
  643. #left-sidebar label[for="per-page-select"],#left-sidebar #per-page-select{display:none!important}\
  644. #left-sidebar #labelGroup{text-align:center!important;width:110px!important}\
  645. #left-sidebar #showB{width:100px!important}\
  646. #left-sidebar #wordDiv{margin:5px 0!important}\
  647. #left-sidebar #labCnt{margin:0 8px 0 0!important}\
  648. #left-sidebar #filterCon{text-align:center!important;width:70px!important}\
  649. #left-sidebar #filterGroup{display:inline!important;margin:0!important;text-align:center!important}\
  650. #left-sidebar input#sel{text-align:center!important;width:32px!important}\
  651.    ');
  652.    if(!theme)
  653.      addStyle('\
  654. #left-sidebar #okB{padding:0!important}\
  655. #left-sidebar #remB,#left-sidebar #showB{margin:0 2px!important;padding:0!important}\
  656. #left-sidebar #wordIn{color:#666;margin:0 0 0 2px!important;width:75%!important}\
  657. #left-sidebar #wordIn:hover,#wordIn:focus{color:#000!important}\
  658. #left-sidebar #labelGroup{color:#000!important}\
  659.    ');
  660.    if(theme) {
  661.      addStyle('\
  662. #left-sidebar #okB{padding:4px!important}\
  663. #left-sidebar #remB,#left-sidebar #showB{margin:0 2px!important;padding:4px!important}\
  664. #left-sidebar #showB{margin-left:0!important}\
  665. #left-sidebar #wordIn{color:#FFF;margin:0 0 0 4px!important;width:75%!important}\
  666. #left-sidebar #wordIn:hover,#wordIn:focus{color:#FFF!important}\
  667. #left-sidebar #labelGroup{color:tan!important}\
  668.    ');
  669.  } }
  670.  
  671.  if(tags)
  672.    addStyle('\
  673. #main-article>dl,#social,#donate,#pledgie{display:none!important}\
  674.  ');
  675.  
  676.  if(links) {
  677.    ltsb.firstElementChild.appendChild(ltsb.nextElementSibling);
  678.    addStyle('\
  679. footer>p>a{display:block!important}\
  680.    ');
  681.  }
  682.  
  683.  if(onStylePage && hiddenmeta) {
  684.    try {
  685.      var infoTables = $('#info-tables');
  686.      var hiddenMeta = $('#hidden-meta');
  687.      infoTables.appendChild(hiddenMeta);
  688.    } catch(ex) {}
  689.    addStyle('\
  690. #main-article #hidden-meta{background:rgba(44,44,44,.75)!important;border:1px solid #222!important;border-radius:8px!important;-webkit-border-radius:8px!important;color:#FFF!important;display:inline-block!important;margin-left:3em!important;padding:5px 5px 5px 10px!important;text-shadow:1px 1px 2px #000!important}\
  691. #main-article #hidden-meta>*:before{content:attr(id) ": "!important}\
  692. #main-article #hidden-meta>*::first-letter{font-size:120%!important}\
  693. #main-article #hidden-meta>#stylish-description{display:none!important}\
  694.    ');
  695.  }
  696.  
  697.  
  698.  if(onBrowsePage) addStyle('\
  699. #table-container{border-radius:5px 5px 0 0;\
  700. -webkit-border-radius:5px 5px 0 0}\
  701.  ');
  702.  
  703.  if(onEditPage || onEdit3Page || onCreatePage || onNewPage || onUDPage) {
  704.    var lsch = ltsb.clientHeight + 12;
  705.    var doch = window.innerHeight - 100;
  706.    addStyle('\
  707. textarea#css{height:'+doch+'px!important}\
  708. #main-article input[type="submit"][value="Save"]{height:24px!important;left:110px!important;padding:0 0 0 0!important;position:fixed!important;top:'+lsch+'px!important;z-index:2!important}\
  709.    ');
  710.  }
  711.  
  712.  if(onEdit2Page) addStyle('#summary,#table-container{display:none!important}');
  713.  
  714.  if(onStylePage) {
  715.    var name = document.body.querySelector("a[rel='nofollow dct:creator']").textContent;
  716.    var navbar = $('nav', ltsb, 1);
  717.    var link = $c('a', {id:'userProfile', href:'https://forum.userstyles.org/profile/' + name, textContent:tvp_109 + name});
  718.    navbar.insertBefore(link, navbar.lastElementChild);
  719.    addStyle('body:not(#f) a#userProfile{width:'+sbw -25+'px!important}');
  720.  }
  721.  
  722.  if(onUserPage && !onMyPage) {
  723.    var name = document.body.querySelector("dd a[rel='nofollow']").href;
  724.    var val = name.split("messages\/add\/")[1].replace(/%27/g, "'").replace(/%20/g, " ");
  725.    var navbar = $('nav', ltsb, 1);
  726.    var link = $c('a', {id:'userProfile', href:name.replace("messages/add", "profile"), textContent:tvp_109 + val});
  727.    navbar.insertBefore(link, navbar.lastElementChild);
  728.    addStyle('body:not(#f) a#userProfile{width:'+sbw - 25+'px!important}');
  729.  }
  730.  
  731.  function $(q, root, single, context) {
  732.    root = root || document;
  733.    context = context || root;
  734.    if(q[0] == '#') return root.getElementById(q.substr(1));
  735.    if(q.match(/^[\/*]|^\.[\/\.]/)) {
  736.      if(single) return root.evaluate(q, context, null, 9, null).singleNodeValue;
  737.      var arr = []; var xpr = root.evaluate(q, context, null, 7, null);
  738.      for(var i = 0; i < xpr.snapshotLength; i++) arr.push(xpr.snapshotItem(i));
  739.      return arr;
  740.    }
  741.    if(q[0] == '.') {
  742.      if(single) return root.getElementsByClassName(q.substr(1))[0];
  743.      return root.getElementsByClassName(q.substr(1));
  744.    }
  745.    if(single) return root.getElementsByTagName(q)[0];
  746.    return root.getElementsByTagName(q);
  747.  }
  748.  
  749.  function $c(type, props, evls) {
  750.    var node = document.createElement(type);
  751.    if(props && typeof props == 'object') {
  752.      for(prop in props) {
  753.        if(typeof node[prop] == 'undefined') node.setAttribute(prop, props[prop]);
  754.        else node[prop] = props[prop];
  755.    } }
  756.    if(evls instanceof Array) {
  757.      for(var i = 0; i < evls.length; i++) {
  758.        var evl = evls[i];
  759.        if(typeof evl.type == 'string' && typeof evl.fn == 'function')
  760.          node.addEventListener(evl.type, evl.fn, false);
  761.    } }
  762.    return node;
  763.  }
  764.  
  765.  function createDiffSpan(diff) {
  766.    if(diff > 0) return $c('span', {className:'diffP', innerHTML:'+'+toCustStr(diff)+''});
  767.    else return $c('span', {className:'diffN', innerHTML:''+toCustStr(diff)+''});
  768.  }
  769.  
  770.  function getDateDiffString(dateNew, dateOld) {
  771.    var dateDiff = new Date(dateNew.getTime() - dateOld.getTime());
  772.    dateDiff.setUTCFullYear(dateDiff.getUTCFullYear() - 1970);
  773.    var strDateDiff = '', timeunitValue = 0;
  774.    var timeunitsHash = { year: 'getUTCFullYear', month: 'getUTCMonth', day: 'getUTCDate', hour: 'getUTCHours'};
  775.    for (var timeunitName in timeunitsHash) {
  776.      timeunitValue = dateDiff[timeunitsHash[timeunitName]]() - ((timeunitName == 'day') ? 1 : 0);
  777.      if (timeunitValue !== 0) {
  778.        if ((timeunitName == 'millisecond') && (strDateDiff.length !== 0)) continue;
  779.        strDateDiff += ((strDateDiff.length === 0) ? '' : ', ') + toCustStr(timeunitValue) + ' ' + timeunitName + (timeunitValue>1?'s':'');
  780.    } }
  781.    return strDateDiff.replace(/,([^,]*)$/, ' and$1');
  782.  }
  783.  
  784.  function toCustStr(num) {
  785.    return num.toString().replace(/\B(?=(?:\d{3})+(?!\d))/g, ',');
  786.  }
  787.  
  788.  String.prototype.toCustNum = function() {
  789.    return parseFloat(this.replace(',', ''));
  790.  }
  791.  
  792.  String.prototype.trim = function() {
  793.    var    str = this.replace(/^\s\s*/, ''), ws = /\s/, i = str.length;
  794.    while (ws.test(str.charAt(--i)));
  795.    return str.slice(0, i + 1);
  796.  }
  797.  
  798.  function insertAfter(newNode, refNode) {
  799.    if(refNode.nextSibling) return refNode.parentNode.insertBefore(newNode, refNode.nextSibling);
  800.    else return refNode.parentNode.appendChild(newNode);
  801.  }
  802.  
  803.  function remove(node) {
  804.    if(node) node.parentNode.removeChild(node);
  805.  }
  806.  
  807.  function ucFirst(str) {
  808.    var firstLetter = str.slice(0, 1);
  809.    return firstLetter.toUpperCase() + str.substring(1);
  810.  }
  811.  
  812.  function capAll(str) {
  813.    var words = str.toLowerCase().split(' ');
  814.    for (var i = 0; i < words.length; i++) {
  815.      var wd = words[i], first = wd.substr(0, 1), rest = wd.substr(1, wd.length - 1);
  816.      words[i] = first.toUpperCase() + rest;
  817.    }
  818.    return words.join(' ');
  819.  }
  820.  
  821.  if(loggedIn) {
  822.    var ratingGood = $('.good-average-rating', styleList).length;
  823.    var ratingOk = $('.ok-average-rating', styleList).length;
  824.    var ratingBad = $('.bad-average-rating', styleList).length;
  825.  } else {
  826.    var ratingGood = $('.good-rating', styleList).length;
  827.    var ratingOk = $('.ok-rating', styleList).length;
  828.    var ratingBad = $('.bad-rating', styleList).length;
  829.  }
  830.  
  831.  for(var i = 0; i < styleCount; i++) {
  832.    var styleObj = {};
  833.    var style = styles[i];
  834.    if(loggedIn) {
  835.      var link = $('a', style, 1), dates = $('.date-value', style), rating = $('img', style, 1);
  836.      styleObj.id = link.href.match(/\/(\d+)\//)[1];
  837.      styleObj.name = link.textContent;
  838.      var installs = $('.numeric-value', style);
  839.      styleObj.installs = installs[1].textContent.toCustNum();
  840.      styleObj.weekly = installs[0].textContent.toCustNum();
  841.      styleObj.updated = dates[0].textContent;
  842.      styleObj.discussed = dates[1].textContent.replace('-', ' \u00A0 ');
  843.      if(rating) {
  844.        switch(rating.className) {
  845.          case 'good-average-rating': styleObj.rating = 3; break;
  846.          case 'ok-average-rating': styleObj.rating = 2; break;
  847.          case 'bad-average-rating': styleObj.rating = 1; break;
  848.        }
  849.        styleObj.rated = true;
  850.      } else {
  851.        styleObj.rating = 0;
  852.        styleObj.rated = false;
  853.      }
  854.      styleObj.obsolete = Boolean($('.obsolete', style, 1));
  855.      if(styleObj.obsolete) {
  856.        totalObsoleteInstalls += parseInt(styleObj.installs);
  857.        totalObsoleteWeekly += parseInt(styleObj.weekly);
  858.      }
  859.    } else {
  860.      var link = $('a', $('header', style, 1), 1);
  861.      styleObj.id = link.href.match(/\/(\d+)\//)[1];
  862.      styleObj.name = link.textContent;
  863.      styleObj.isOwn = style.className.indexOf('by-current-user') != -1;
  864.      styleObj.installs = style.getAttribute('total-install-count');
  865.      styleObj.weekly = style.getAttribute('weekly-install-count');
  866.      styleObj.text = $('p', style, 1).textContent.replace(/\s+/g, ' ');
  867.      var updated = $('.style-brief-stats', style, 1);
  868.      if(updated) {
  869.        updated = updated.children[0].textContent.match(/Updated:\s+(.*)\s+/)[1];
  870.        styleObj.updated = updated.replace(/\s+/g, ' ');
  871.      }
  872.      styleObj.rating = style.getAttribute('average-rating') || 0;
  873.      styleObj.obsolete = style.className.indexOf('obsolete') != -1;
  874.      if(styleObj.obsolete) {
  875.        totalObsoleteInstalls += parseInt(styleObj.installs);
  876.        totalObsoleteWeekly += parseInt(styleObj.weekly);
  877.      }
  878.      styleObj.rated = style.className.indexOf('no-rating') == -1;
  879.    }
  880.    styleArray.push(styleObj);
  881.    if(onUserPage) { if(loggedIn) {
  882.      var id = styleObj.id;
  883.      DATA[id] = {};
  884.      DATA[id].installs = styleObj.installs;
  885.      DATA[id].weekly = styleObj.weekly;
  886.    }
  887.    totalInstalls += parseInt(styleObj.installs);
  888.    totalWeekly += parseInt(styleObj.weekly);
  889.  } }
  890.  
  891.  var styleTable = $c('table', {id:'style-table'});
  892.  
  893.  if(filter) {
  894.    try {
  895.      $('#advanced-search').childNodes[5].textContent = "";
  896.      $('#advanced-search').childNodes[7].textContent = "";
  897.    } catch(ex) {}
  898.  }
  899.  
  900.  if(theme && onStylePage) {
  901.    if(!onBrowsePage) {
  902.      var sty = $('#miscellaneous-info').children[0], discussions = $('#discussions');
  903.      var badr = $('.bad-rating', discussions).length, okr = $('.ok-rating', discussions).length;
  904.      var goodr = $('.good-rating', discussions).length;
  905.      if(sty.childElementCount == '6') {
  906.        var misinfo = sty.children[5].lastElementChild;
  907.        var multdiv = (((badr * 1) + (okr * 2) + (goodr * 3)) / (badr + okr + goodr));
  908.        var product = Math.round(multdiv / 3 * 48), rnd = Math.round(multdiv * 100) / 100, rts = rnd.toString();
  909.        if(rts.indexOf(".") == -1) rnd = rnd + ".0"; else rnd = rnd;
  910.        misinfo.parentNode.replaceChild($c('td', {rating:rnd, title:rnd, innerHTML:'<div class="ratingbg"><div class="ratingfg" style="width:' + product + 'px"></div</div>'}), misinfo);
  911.      }
  912.      if(sty.childElementCount == '5') {
  913.        sty.appendChild($c('tr', {id:'noRate'}));
  914.        var sty2 = $('#noRate');
  915.        sty2.appendChild($c('th', {id:'ranked', textContent:'Rated: '}));
  916.        sty2.appendChild($c('td', {id:'rating', title:'Not Rated', textContent:'Not Yet'}));
  917.  } } }
  918.  
  919.  var styleTableHeaderRow = $c('tr');
  920.  
  921.  if(onUserPage || onBrowsePage) var theaders = [tvp_15, '', tvp_17, tvp_18, tvp_19, tvp_20];
  922.  
  923.  if(onMyPage) var theaders = [tvp_15, '', tvp_17, tvp_18, tvp_21, tvp_20, ''];
  924.  
  925.  for(var i = 0; i < theaders.length; i++) styleTableHeaderRow.appendChild($c('th', {className:'header header-row', textContent:theaders[i]}));
  926.  
  927.  styleTable.appendChild(styleTableHeaderRow);
  928.  
  929.  var headerCell2 = $('./tr/th[2]', document, true, styleTable);
  930.  var cnt = styleCount, oCnt = obsoleteCount, aCnt = cnt - oCnt;
  931.  
  932.  if(!onMyPage) headerCell2.textContent = tvp_22 + cnt;
  933.  
  934.  if(onMyPage) {
  935.    headerCell2.textContent = tvp_22 + cnt + tvp_23 + aCnt + tvp_24 + oCnt;
  936.    var headerCell7 = $('./tr/th[7]', document, true, styleTable);
  937.    headerCell7.appendChild($c('button', {id:'obsBtn', textContent:tvp_99, title:tvp_25}, [{type:'click', fn:function() {toggleObs()}}]));
  938.  }
  939.  
  940.  if(metadata && styleCount > 1) {
  941.    headerCell2.appendChild($c('button', {id:'metaOpen', title:(onMyPage ? tvp_96 : tvp_97)}, [{type:'click', fn:function(e) {openCells(e.shiftKey || e.ctrlKey ? true : false)}}]));
  942.    headerCell2.appendChild($c('button', {id:'metaClose', title:tvp_98}, [{type:'click', fn:function() {closeCells()}}]));
  943.    headerCell2.appendChild($c('button', {id:'metaReset', title:tvp_110}, [{type:'click', fn:function() {document.location.reload()}}]));
  944.  }
  945.  if(links && !onEdit2Page) {
  946.    var ma = $('#main-article').children[0];
  947.    var lsb = ltsb.children[0].children[0];
  948.    lsb.appendChild(ma);
  949.  }
  950.  
  951.  for(var i = 0; i < styleArray.length; i++) {
  952.    var style = styleArray[i], row = $c('tr', {id:style.id});
  953.    if(style.obsolete) row.className = 'obsolete';
  954.    row.appendChild($c('td', {textContent:(i + 1)}));
  955.    var cellN = $c('td');
  956.    if(onBrowsePage || onUserPage  && !onMyPage)
  957.      cellN.appendChild($c('a', {href:'/styles/'+style.id, textContent:style.name, title:style.text.trim()}));
  958.    else
  959.      cellN.appendChild($c('a', {href:'/styles/'+style.id, textContent:style.name, title:style.name}));
  960.    if(metadata) {
  961.      var infolinkopen = $c('div', {className:'metalink-open', title:tvp_28, styleid:style.id});
  962.      var infolinkclose = $c('div', {className:'metalink-close', title:tvp_29, styleid:style.id}, [{type:'mouseover', fn:function() {hidePopup()}}]);
  963.      cellN.appendChild(infolinkclose);
  964.      cellN.appendChild(infolinkopen);
  965.      infolinkopen.addEventListener('click', function(e) {
  966.        var src = e.target, bbb = src.getAttribute('styleid'), row = $('#' + bbb), aRow = row.children[1];
  967.        row.setAttribute("opened", "true");
  968.        aRow.children[1].className += ' loading';
  969.        fetchMeta(bbb);
  970.        aRow.children[2].style.width = '0';
  971.        aRow.children[1].style.width = '18px';
  972.        hidePopup();
  973.      }, false);
  974.      infolinkclose.addEventListener('click', function(e) {
  975.        var src = e.target, bbb = src.getAttribute('styleid'), row = $('#' + bbb), aRow = row.children[1];
  976.        row.removeAttribute('opened');
  977.        aRow.removeChild(aRow.lastChild);
  978.        aRow.children[2].style.width = '18px';
  979.        aRow.children[1].style.width = '0';
  980.        hidePopup();
  981.      }, false);
  982.    }
  983.  
  984.    var cellI = $c('td', {textContent:toCustStr(style.installs)});
  985.    var cellW = $c('td', {textContent:toCustStr(style.weekly)});
  986.    if(onMyPage) var cellU = $c('td', {textContent:style.discussed});
  987.    else var cellU = $c('td', {textContent:style.updated});
  988.    var rrr = style.rating.toString();
  989.    if(rrr.indexOf(".") == -1) rrr = rrr + ".0";
  990.    else rrr = rrr;
  991.    var cellR = $c('td', {rating:rrr, title:(rrr != '0.0' ? rrr : tvp_65), innerHTML:'<div class="ratingbg"><div class="ratingfg" style="width:' + Math.round(style.rating / 3 * 100) + '%"></div</div>'});
  992.  
  993.    if(onMyPage) {
  994.      var cellO = $c('td');
  995.      if($('#main-article').lastElementChild.lastElementChild.children[i].lastElementChild.children[1].textContent == tvp_112)
  996.        var deleteDiv = $c('a', {href:'/styles/delete/' + style.id, innerHTML:'<div class="undelete" title="'+tvp_113+'"></div>'});
  997.      else
  998.        var deleteDiv = $c('a', {href:'/styles/delete/' + style.id, innerHTML:'<div class="delete" title="'+tvp_114+'"></div>'});
  999.      var editDiv = $c('a', {href:'/styles/edit/' + style.id, innerHTML:'<div class="edit" title="'+tvp_115+'"></div>'});
  1000.      var statsDiv = $c('a', {href:'/styles/stats/' + style.id, innerHTML:'<div class="stats" title="'+tvp_116+'"></div>'});
  1001.      cellO.appendChild(statsDiv);
  1002.      cellO.appendChild(deleteDiv);
  1003.      cellO.appendChild(editDiv);
  1004.    }
  1005.  
  1006.    row.appendChild(cellN);
  1007.    row.appendChild(cellI);
  1008.    row.appendChild(cellW);
  1009.    row.appendChild(cellU);
  1010.    row.appendChild(cellR);
  1011.    if(onMyPage) row.appendChild(cellO);
  1012.    styleTable.appendChild(row);
  1013.  }
  1014.  
  1015.  var tableContainer = $c('div', {id:'table-container'});
  1016.  
  1017.  tableContainer.appendChild(styleTable);
  1018.  
  1019.  if(loggedIn) {
  1020.    styleList.parentNode.replaceChild(tableContainer, styleList);
  1021.  } else {
  1022.    while(styles.length > 0) styles[0].parentNode.removeChild(styles[0]);
  1023.    if($('.pagination')[0]) styleList.insertBefore(tableContainer, $('.pagination')[0]);
  1024.    else styleList.appendChild(tableContainer);
  1025.  }
  1026.  
  1027.  var th = $('th', styleTable);
  1028.  
  1029.  if(onUserPage) {
  1030.    for(var i = 0; i < th.length - 1; i++) {
  1031.      th[i].addEventListener('click', function(e) {
  1032.        if(e.target.nodeName == 'TH') sortTable(e.target);
  1033.      },false);
  1034.    }
  1035.  } else {
  1036.    for(var i = 0; i < th.length; i++) {
  1037.      th[i].addEventListener('click', function(e) {
  1038.        if(e.target.nodeName == 'TH') sortTable(e.target);
  1039.      },false);
  1040.  } }
  1041.  
  1042.  if(onUserPage) {
  1043.    var summary = '<label id="total" class="label total"></label><b class="b total">' + toCustStr(totalInstalls) + '</b>' +
  1044.      '<label id="weekly" class="label weekly"></label><b class="b weekly">' + toCustStr(totalWeekly-totalObsoleteWeekly) + '</b>' +
  1045.      '<label id="ratings" class="label ratings"></label><b class="b good">' + toCustStr(ratingGood) + '</b><label id="good" class="label good"></label>' +
  1046.      '<b class="b ok">' + toCustStr(ratingOk) + '</b><label id="ok" class="label ok"></label>' +
  1047.      '<b class="b bad">' + toCustStr(ratingBad) + '</b><label id="bad" class="label bad"></label>';
  1048.    tableContainer.parentNode.insertBefore($c('table', {id:'summary', innerHTML:summary}), tableContainer);
  1049.    $('#total').textContent = tvp_58;
  1050.    $('#weekly').textContent = tvp_59;
  1051.    $('#ratings').textContent = tvp_60;
  1052.    $('#good').textContent = tvp_61;
  1053.    $('#ok').textContent = tvp_62;
  1054.    $('#bad').textContent = tvp_63;
  1055.    if(stats) {
  1056.      var oldDATA = getValue('DATA-' + user);
  1057.      if(!oldDATA) {
  1058.        setValue('DATA-' + user, jStringify(DATA));
  1059.      } else {
  1060.        oldDATA = jParse(oldDATA);
  1061.        var styleRows = $('tr', styleTable);
  1062.        var rowCount = styleRows.length;
  1063.        var diffITotal = diffWTotal = 0;
  1064.        for(var i = 1; i < rowCount; i++) {
  1065.          var styleRow = styleRows[i];
  1066.          var styleID = styleRow.id;
  1067.          var name = styleRow.cells[1].children[0].textContent;
  1068.          var installs = styleRow.cells[2].textContent.toCustNum();
  1069.          var weekly = styleRow.cells[3].textContent.toCustNum();
  1070.          if(oldDATA[styleID]) {
  1071.            var diff_I = parseInt(installs) - parseInt(oldDATA[styleID].installs);
  1072.            if(diff_I != 0) styleRow.cells[2].appendChild(createDiffSpan(diff_I));
  1073.            var diff_W = parseInt(weekly) - parseInt(oldDATA[styleID].weekly);
  1074.            if(diff_W != 0) styleRow.cells[3].appendChild(createDiffSpan(diff_W));
  1075.            diffITotal += diff_I;
  1076.            diffWTotal += diff_W;
  1077.        } }
  1078.        var styleHeaderRow = $('//tr[th]', document, true, styleTable);
  1079.        var lastDiffCheck = getValue('lastDiffCheck-'+user);
  1080.        if(!lastDiffCheck) setValue('lastDiffCheck-' + user, new Date().getTime().toString());
  1081.        var sum = $('#summary');
  1082.        if(diffITotal != 0 || diffWTotal != 0) {
  1083.          if(lastDiffCheck) {
  1084.            lastDiffCheck = new Date(parseInt(lastDiffCheck));
  1085.            var lastCheckNode = $c('p', {id:'lastcheck', textContent:tvp_102 + getDateDiffString(new Date(), lastDiffCheck) + ' ago  (' + lastDiffCheck + ')'});
  1086.            sum.insertBefore(lastCheckNode, sum.firstChild);
  1087.            $('#lastcheck').textContent = $('#lastcheck').textContent.split(' GMT')[0] + ')';
  1088.          } else sum.insertBefore($c('p',{id:'lastcheck', textContent:tvp_101}), sum.firstChild);
  1089.          if(diffITotal != 0) styleHeaderRow.cells[2].appendChild(createDiffSpan(diffITotal));
  1090.          if(diffWTotal != 0) styleHeaderRow.cells[3].appendChild(createDiffSpan(diffWTotal));
  1091.          if(diffITotal != 0 || diffWTotal != 0) $('#lastcheck').style.display = "block";
  1092.          else $('#lastcheck').style.display = "none";
  1093.          var resetBtn = $c('button', {id:'resetBtn', textContent:tvp_100}, [{type:'click', fn:function() {if(confirm(tvp_103)) { setValue('DATA-' + user, jStringify(DATA)); setValue('lastDiffCheck-' + user, new Date().getTime().toString()); document.location.reload() } else { return }}}]);
  1094.          if(diffITotal != 0 || diffWTotal != 0) sum.firstChild.appendChild(resetBtn);
  1095.  } } } }
  1096.  
  1097.  function openCells(skipObs) {
  1098.    var rows = $('tr', styleTable);
  1099.    for (var i = 1; i < rows.length; i++) {
  1100.      if (skipObs) {
  1101.        if(!rows[i].hasAttribute('opened') && rows[i].className != 'obsolete') {
  1102.          var aRow = rows[i].children[1];
  1103.          rows[i].setAttribute('opened', 'true');
  1104.          aRow.children[1].className += ' loading';
  1105.          aRow.children[2].style.width = '0';
  1106.          aRow.children[1].style.width = '18px';
  1107.          fetchMeta(rows[i].id);
  1108.        }
  1109.      } else {
  1110.        if (!rows[i].hasAttribute('opened')) {
  1111.          var aRow = rows[i].children[1];
  1112.          rows[i].setAttribute('opened', 'true');
  1113.          aRow.children[1].className += ' loading';
  1114.          aRow.children[2].style.width = '0';
  1115.          aRow.children[1].style.width = '18px';
  1116.          fetchMeta(rows[i].id);
  1117.  } } } }
  1118.  
  1119.  function hideURL() {
  1120.    var gvkw = getValue('keyWords'), kw = gvkw.split('<>'), listCnt = 0;
  1121.    var names = [], docItem = $('.url', styleTable), rows = $('tr', styleTable);
  1122.    if(gvkw == '') return;
  1123.    for(k = 0; k < kw.length; k++) names.push(kw[k]);
  1124.    for(var x in names)
  1125.    for(var i = 0; i < docItem.length; i++) {
  1126.      var word = new RegExp('\\b' + names[x] + '\\b', 'g');
  1127.      if(docItem[i].textContent.match(word)) {
  1128.        docItem[i].parentNode.parentNode.parentNode.parentNode.style.display = 'none';
  1129.        docItem[i].parentNode.parentNode.parentNode.parentNode.setAttribute('filtered', 'true');
  1130.      }
  1131.    }
  1132.    for(var i = 1; i < rows.length; i++) {
  1133.      if(rows[i].style.display == 'none') listCnt++;
  1134.      $('#filterCount').textContent = listCnt;
  1135.  } }
  1136.  
  1137.  function closeCells() {
  1138.    var rows = $('tr', styleTable);
  1139.    for (var i = 1; i < rows.length; i++) {
  1140.      if (rows[i].hasAttribute('opened')) {
  1141.        var aRow = rows[i].children[1];
  1142.        rows[i].removeAttribute('opened');
  1143.        aRow.removeChild(aRow.lastChild);
  1144.        aRow.children[2].style.width = '18px';
  1145.        aRow.children[1].style.width = '0';
  1146.  } } }
  1147.  
  1148.  if(metadata && auto) {
  1149.    var rows = $('tr', styleTable);
  1150.    for(var i = 1; i < rows.length; i++) {
  1151.      fetchMeta(rows[i].id);
  1152.        var aRow = rows[i].children[1];
  1153.        rows[i].setAttribute('opened', 'true');
  1154.        aRow.children[1].className += ' loading';
  1155.        aRow.children[2].style.width = '0';
  1156.        aRow.children[1].style.width = '18px';
  1157.  } }
  1158.  
  1159.  function fetchMeta(id) {
  1160.    xhr({
  1161.      method : 'GET',
  1162.      url    : 'https://userstyles.org/styles/' + id,
  1163.      onload : function(responseDetails) {
  1164.        if(responseDetails.status == 200) {
  1165.          var body = responseDetails.responseText.split(/<body[^>]*>((?:.|\n|\r)*)<\/body>/i);
  1166.          body = body[1].replace(/<script((?:.|\n|\r)*?)>((?:.|\n|\r)*?)<\/script>/g,'');
  1167.          var holder = $c('div', {innerHTML:body});
  1168.          holder.style.display = 'none';
  1169.          document.body.appendChild(holder);
  1170.          var row = $('#' + id);
  1171.          if(!row) {log('Unable to find row.'); return}
  1172.          row = row.children[1];
  1173.         var loading = $('.loading', row, true);
  1174.         if (loading) loading.setAttribute('class', 'metalink-close');
  1175.          var misc_info = $('#style-author-info');
  1176.          var author = $('.//a[contains(@href,"/users/")]', document, 1, misc_info);
  1177.          var more = $('.more', holder, 1);
  1178.          var affects = more ? $('a', more, 1).href.match(/browse\/(.*)/)[1] : 'N/A';
  1179.          var affectsurl = responseDetails.responseText.match(/<link\srel='stylish-example-url'\shref='(https?:\/\/[a-zA-Z0-9\.]+\/?).*'\/>/);
  1180.          var favicon = $c('img', {className:'metafavicon'});
  1181.          switch(affects.toLowerCase()) {
  1182.            case 'n/a': favicon.className += 'blank'; break;
  1183.            case 'app': favicon.className += 'app'; break;
  1184.            case 'global': favicon.className += 'global'; break;
  1185.            case 'userscripts.org': favicon.src = 'https://userscripts.org/images/script_icon.png'; break;
  1186.            default: favicon.src = affectsurl[1] + '/favicon.ico';
  1187.          }
  1188.          var meta = $c('div', {className:'meta'});
  1189.          var _screenshot = $('#screenshots');
  1190.          if(_screenshot) {
  1191.            if($('#main-screenshot')) {
  1192.              meta.appendChild(addPopup($c('a', {className:'metascreenmain', title:tvp_117, href:$('img', _screenshot, 1).src, target:'_blank'})));
  1193.            }
  1194.            if($('#more-screenshots')) {
  1195.              var screenshots = $('a', $('#more-screenshots'));
  1196.              for(var i = 0; i < screenshots.length; i++) {
  1197.                meta.appendChild(addPopup($c('a', {className:'metascreenmore', title:tvp_118, href:screenshots[i].href, target:'_blank'})));
  1198.        } } }
  1199.        var discussions = $('#discussions');
  1200.        if(discussions) {
  1201.          var good = $('.good-rating', discussions).length;
  1202.          var ok = $('.ok-rating', discussions).length;
  1203.          var bad = $('.bad-rating', discussions).length;
  1204.          var tot = $('li', discussions).length;
  1205.          meta.appendChild($c('div', {className:'metadiscussions', title:tot + ' Discussions (' + good + ' Good, ' + ok + ' Ok and ' + bad + ' Bad)'}));
  1206.        }
  1207.        var div = $c('div');
  1208.        div.appendChild(favicon);
  1209.        div.appendChild($c('span', {className:'url', textContent:affects}));
  1210.        var date_created = $('.//tr[3]/td[1]', document, 1, misc_info).textContent.trim();
  1211.        var date_updated = $('.//tr[4]/td[1]', document, 1, misc_info).textContent.trim();
  1212.        if(!onMyPage && onUserPage || onBrowsePage) {
  1213.          var dateA = tvp_119 + date_created;
  1214.          div.appendChild($c('span', {className:'date date3', textContent:dateA}));
  1215.        }
  1216.        if(onMyPage) {
  1217.          var dateA = tvp_119 + date_created;
  1218.          var dateB = tvp_120 + date_updated;
  1219.          div.appendChild($c('span', {className:'date date1', textContent:dateA}));
  1220.          div.appendChild($c('span', {className:'date date2', textContent:dateB}));
  1221.        }
  1222.        if(!onUserPage) div.appendChild($c('span', {className:'metauser', innerHTML:' by <a href="' + author.href + '">' + author.textContent + '</a>'}));
  1223.          meta.appendChild(div);
  1224.          row.appendChild(meta);
  1225.          holder.parentNode.removeChild(holder);
  1226.        }
  1227.        hideURL();
  1228.      }
  1229.    });
  1230.  }
  1231.  
  1232.  var hidePopupTimeout = 0;
  1233.  var showPopupTimeout = 0;
  1234.  var source = null;
  1235.  var popupdiv = $c('div', {id:'popup_container'});
  1236.  
  1237.  if(popup) {
  1238.    popupdiv.addEventListener('mouseover', function(e) {window.clearTimeout(hidePopupTimeout); source = e.relatedTarget}, false);
  1239.    popupdiv.addEventListener('mouseout', function(){hidePopupTimeout = window.setTimeout(hidePopup, 50)}, false);
  1240.    popupdiv.addEventListener('click', function() {hidePopup()}, false);
  1241.    document.body.appendChild(popupdiv);
  1242.    function addPopup(el) {
  1243.      if(!popup) return el;
  1244.      el.addEventListener('mouseover', function(e) {
  1245.        if(e.relatedTarget != source) window.clearTimeout(hidePopupTimeout);
  1246.        showPopupTimeout = window.setTimeout(function() {showPopup(e, el.href)},250);
  1247.      }, false);
  1248.      el.addEventListener('mouseout', function(e) {hidePopupTimeout = window.setTimeout(hidePopup, 50)}, false);
  1249.      return el;
  1250.  } }
  1251.  
  1252.  if(!popup) {
  1253.    popupdiv.addEventListener('click', function() {hidePopupTimeout = window.setTimeout(hidePopup, 50)}, false);
  1254.    popupdiv.addEventListener('mouseout', function() {hidePopup()}, false);
  1255.    document.body.appendChild(popupdiv);
  1256.    function addPopup(el) {
  1257.      el.addEventListener('click', function(e) {
  1258.        if(e.relatedTarget != source) window.clearTimeout(hidePopupTimeout);
  1259.        showPopupTimeout = window.setTimeout(function() {showPopup(e, el.href)}, 250);
  1260.      }, false);
  1261.      el.addEventListener('mouseup', function() {return el}, false);
  1262.      el.addEventListener('click', function(e) {e.preventDefault(); return el; hidePopupTimeout = window.setTimeout(hidePopup, 50)}, false);
  1263.      return el;
  1264.  } }
  1265.  
  1266.  function showPopup(e, src) {
  1267.    var popup = $('#popup_container');
  1268.    if(!popup) debug('Unable to find Popup Picture Container.');
  1269.    popup.className = (e.pageX > document.body.clientWidth/2) ? 'popup_left' : 'popup_right';
  1270.    popup.style.display = 'block';
  1271.    popup.innerHTML = '<img src="' + src + '" alt="Loading Screenshot..." style="max-height:' + (window.innerHeight-22) + 'px; max-width:' + (window.innerWidth - 42) + 'px; margin: 2px;">';
  1272.  }
  1273.  
  1274.  function hidePopup() {
  1275.    window.clearTimeout(showPopupTimeout);
  1276.    $('#popup_container').style.display = 'none';
  1277.  }
  1278.  
  1279.  if(hideObsolete) {
  1280.    setObs();
  1281.  }
  1282.  
  1283.  var colIndex = 0;
  1284.  
  1285.  function sortTable(source) {
  1286.    var table = source;
  1287.    while(table.nodeName.toLowerCase() != 'table') {table = table.parentNode}
  1288.    var newRows = [];
  1289.    for(var i = 0; i < table.rows.length - 1; i++) {newRows[i] = table.rows[i + 1]}
  1290.    if(colIndex == source.cellIndex) newRows.reverse();
  1291.    else {
  1292.      colIndex = source.cellIndex;
  1293.      var cell = table.rows[1].cells[colIndex].textContent.toCustNum();
  1294.      if(colIndex == 4) newRows.sort(sortD);
  1295.      else if(colIndex == 5) newRows.sort(sortR);
  1296.      else if(!isNaN(cell)) newRows.sort(sortF);
  1297.      else newRows.sort(sortT);
  1298.      if(sortdir == 'desc') newRows.reverse();
  1299.    }
  1300.    function sortD(a, b) {
  1301.      var _a = new Date(a.cells[4].textContent.replace(' \u00A0 ', '0 0 0'));
  1302.      var _b = new Date(b.cells[4].textContent.replace(' \u00A0 ', '0 0 0'));
  1303.      if(_a < _b) return -1;
  1304.      if(_a > _b) return 1;
  1305.      return sortR(a, b);
  1306.    }
  1307.    function sortR(a, b) {
  1308.      var res = parseFloat(a.cells[5].getAttribute('rating')) - parseFloat(b.cells[5].getAttribute('rating'));
  1309.      if(res == 0) res = a.cells[2].textContent.toCustNum() - b.cells[2].textContent.toCustNum();
  1310.      if(res == 0) res = a.cells[3].textContent.toCustNum() - b.cells[3].textContent.toCustNum();
  1311.      return res;
  1312.    }
  1313.    function sortF(a, b) {
  1314.      var res = a.cells[colIndex].textContent.toCustNum() - b.cells[colIndex].textContent.toCustNum();
  1315.      if(res == 0) {
  1316.        var index = (colIndex == 2) ? 3 : 2;
  1317.        res = a.cells[index].textContent.toCustNum() - b.cells[index].textContent.toCustNum();
  1318.      }
  1319.      if(res == 0) res = sortR(a, b);
  1320.      return res;
  1321.    }
  1322.    function sortT(a, b) {
  1323.      a = a.cells[colIndex].textContent.toLowerCase();
  1324.      b = b.cells[colIndex].textContent.toLowerCase();
  1325.      if(a < b) return -1;
  1326.      if(a > b) return 1;
  1327.      return 0;
  1328.    }
  1329.    for(var i = 0; i < newRows.length; i++) {table.appendChild(newRows[i])}
  1330.  }
  1331.  
  1332.  var ddd = $('DD');
  1333.  for(var i = 0; i < ddd.length; i++)
  1334.  if(ddd[i].innerHTML.indexOf('href="') != -1) ddd[i].style.display = 'block';
  1335.  else ddd[i].style.display = 'none';
  1336.  
  1337.  if(!sizemode) {
  1338.    var tableWidth = $('#table-container').clientWidth;
  1339.    addStyle('div.pagination{width:'+tableWidth+'px!important}');
  1340.  }
  1341.  
  1342.  function perPage() {
  1343.    var gvkw = getValue('keyWords');
  1344.    if(gvkw != '') hideItem();
  1345.    var docURL = document.URL, sel = $('#sel').value;
  1346.    if(docURL.indexOf('per_page') > 0) {
  1347.      var pf = parseFloat(docURL.split('per_page=')[1]);
  1348.      if(sel == '') sel = '10';
  1349.      if(sel > 200) {alert('Maximum entry is 200'); sel = '200';}
  1350.      if(pf == sel) return;
  1351.      document.location = docURL.replace(/per_page=[0-9]+/, 'per_page=' + sel);
  1352.    }
  1353.    if(docURL.indexOf('per_page') < 0 && docURL.indexOf('?') > 0 ) {
  1354.      var split0 = docURL.split('?')[0], split1 = docURL.split('?')[1];
  1355.      document.location = split0 + '?per_page=' + sel + '&' + split1;
  1356.    }
  1357.    if(docURL.indexOf('?') < 0) document.location = docURL + '?per_page=' + sel;
  1358.    setValue('perPageCount', sel);
  1359.  }
  1360.  
  1361.  function hideItem() {
  1362.    var gvkw = getValue('keyWords');
  1363.    var names = [], docItem = $('tr', styleTable), kw = gvkw.split('<>'), listCnt = 0;
  1364.    for(k = 0; k < kw.length; k++) names.push(kw[k]);
  1365.    for(var x in names)
  1366.    for(var i = 1; i < docItem.length; i++) {
  1367.      var word = new RegExp('\\b' + names[x] + '\\b', 'g');
  1368.      if(docItem[i].childNodes[1].textContent.match(word)) {
  1369.        docItem[i].childNodes[1].parentNode.style.display = 'none';
  1370.        docItem[i].childNodes[1].parentNode.setAttribute('filtered', 'true');
  1371.    } }
  1372.    for(var i = 1; i < docItem.length; i++) {
  1373.      if(docItem[i].style.display == 'none') listCnt++;
  1374.      $('#filterCount').textContent = listCnt;
  1375.    }
  1376.    hideURL();
  1377.    $('#labelGroup').title = getValue('keyWords');
  1378.    $('#showB').title = getValue('keyWords');
  1379.  }
  1380.  
  1381.  if(hideObsolete || onMyPage) setObs();
  1382.  
  1383.  function setObs() {
  1384.    if(onMyPage) {
  1385.      var btnObs = $('#obsBtn');
  1386.      if(getValue('hideObsolete')) {
  1387.        for(var i = 0; i < styleTable.childElementCount; i++)
  1388.        if(styleTable.children[i].className == 'obsolete') styleTable.children[i].style.display = 'none';
  1389.        btnObs.title = tvp_42;
  1390.        btnObs.style.backgroundColor = '#900';
  1391.        btnObs.style.borderColor = '#900';
  1392.      } else {
  1393.        for(var i = 0; i < styleTable.childElementCount; i++)
  1394.        if(styleTable.children[i].className == 'obsolete') styleTable.children[i].style.display = 'table-row';
  1395.        btnObs.title = tvp_25;
  1396.        btnObs.style.backgroundColor = '#090';
  1397.        btnObs.style.borderColor = '#090';
  1398.  } } }
  1399.  
  1400.  function toggleObs() {
  1401.    var xxx = getValue('hideObsolete') != false ? false : true;
  1402.    setValue('hideObsolete', xxx);
  1403.    setObs();
  1404.  }
  1405.  
  1406.  if(filter) {
  1407.    if(!onMyPage) {
  1408.        var filterBlk = $c('div', {id:'filter-block'});
  1409.        var wordDiv = $c('div', {id:'wordDiv'});
  1410.        var fltGroup = $c('div', {id:'filterGroup'});
  1411.        var inp = $c('input', {id:'wordIn', title:tvp_46}, [{type:'click', fn:function(e) {getKey(e)}}]);
  1412.        var okBtn = $c('button', {id:'okB', textContent:tvp_49, title:tvp_50}, [{type:'click', fn:function(e) {genKey(); e.preventDefault()}}]);
  1413.        var sg = $c('td', {id:'labelGroup', title:getValue('keyWords') ? getValue('keyWords') : tvp_69});
  1414.        var cnt = $c('label', {id:'labCnt', textContent:tvp_52})
  1415.        var spn = $c('label', {id:'filterCount', textContent:'0'});
  1416.        var remBtn = $c('button', {id:'remB', textContent:tvp_51, title:tvp_68}, [{type:'click', fn:function(e) {remKey(); e.preventDefault()}}]);
  1417.        var showBtn = $c('button', {id:'showB', textContent:tvp_47, title:getValue('keyWords') ? getValue('keyWords') : tvp_69}, [{type:'click', fn:function(e) {showItem(e)}}]);
  1418.        var ppGroup = $c('div', {id:'perPageGroup'});
  1419.        var selLabel = $c('label', {id:'selLab', textContent:tvp_44})
  1420.        var selInput = $c('input', {id:'sel', maxlength:'3'}, [{type:'blur', fn:function() {perPage()}}]);
  1421.        ppGroup.appendChild($c('label', {id:'fb-label', textContent:tvp_13}));
  1422.        ppGroup.appendChild(selLabel);
  1423.        ppGroup.appendChild(selInput);
  1424.        filterBlk.appendChild(ppGroup);
  1425.        wordDiv.appendChild(okBtn);
  1426.        wordDiv.appendChild(inp);
  1427.        filterBlk.appendChild(wordDiv);
  1428.        fltGroup.appendChild(showBtn);
  1429.        sg.appendChild(cnt);
  1430.        sg.appendChild(spn);
  1431.        fltGroup.appendChild(sg);
  1432.        fltGroup.appendChild(remBtn);
  1433.        filterBlk.appendChild(fltGroup);
  1434.        ltsb.appendChild(filterBlk);
  1435.        if(getValue('keyWords') == '') {
  1436.          $('#showB').setAttribute('style', 'opacity:.3;pointer-events:none');
  1437.          $('#remB').setAttribute('style', 'opacity:.3;pointer-events:none');
  1438.        } else {
  1439.          $('#showB').setAttribute('style', 'opacity:1;pointer-events:all');
  1440.          $('#remB').setAttribute('style', 'opacity:1;pointer-events:all');
  1441.        }
  1442.        $('#sel').value = getValue('perPageCount');
  1443.        perPage();
  1444.  } }
  1445.  
  1446.  if(filter) {
  1447.    ltsb.insertBefore($('#filter-block'), $('#btnCont'));
  1448.    $('#style-table').addEventListener('mouseup', getActiveText, false);
  1449.    $('#wordIn').addEventListener('dblclick', function() {$('#wordIn').value = ''}, false);
  1450.  } else {
  1451.    $('#style-table').removeEventListener('mouseup', getActiveText, false);
  1452.    $('#wordIn').removeEventListener('dblclick', function() {$('#wordIn').value = ''}, false);
  1453.  }
  1454.  
  1455.  function getActiveText() {
  1456.    var getText = '', wdIn = $('#wordIn');
  1457.    getText = getSelection().toString();
  1458.    if(getText != '') {
  1459.      if(wdIn.value == '') wdIn.value = getText.trim();
  1460.      else wdIn.value = wdIn.value + '<>' + getText.trim();
  1461.    }
  1462.    return;
  1463.  }
  1464.  
  1465.  
  1466.  if(onBrowsePage) {
  1467.    $('#search-options').style.display = 'block';
  1468.    $('#show-search-options').textContent = 'Hide options';
  1469.  }
  1470.  if(filter) {
  1471.    if(onStylePage || onBrowsePage) {
  1472.      var gvkw = getValue('keyWords');
  1473.      var names = [], docItem = $('tr', styleTable), kw = gvkw.split('<>'), listCnt = 0;
  1474.      for(k = 0; k < kw.length; k++) names.push(kw[k]);
  1475.      for(var x in names)
  1476.      for(var i = 0; i < docItem.length; i++) {
  1477.        var word = new RegExp("\\b" + names[x] + "\\b", "g");
  1478.        if(docItem[i].childNodes[1].textContent.match(word)) docItem[i].childNodes[1].parentNode.style.display = 'none';
  1479.        if(docItem[i].childNodes[1].textContent.toLowerCase().match(word)) docItem[i].childNodes[1].parentNode.style.display = 'none';
  1480.      }
  1481.      for(var i = 0; i < docItem.length; i++) {
  1482.        if(docItem[i].style.display == 'none') listCnt++;
  1483.        $('#filterCount').textContent = listCnt;
  1484.  } } }
  1485.  
  1486.  if(filter && getValue('keyWords') == '') return;
  1487.  
  1488.  function getKey(e) {
  1489.    if(e.button == 1) $('#wordIn').value = getValue('keyWords');
  1490.  }
  1491.  
  1492.  function showItem(e) {
  1493.    if(getValue('keyWords') == '') return;
  1494.    if(e.target.textContent == tvp_48) {
  1495.      hideItem();
  1496.      e.target.textContent = tvp_47;
  1497.      return;
  1498.    }
  1499.    var docItem = $('tr', styleTable);
  1500.    for(var i = 1; i < docItem.length; i++)
  1501.      if(docItem[i].style.display == 'none') {
  1502.        docItem[i].removeAttribute("style");
  1503.        docItem[i].style.background = tvp_74;
  1504.      }
  1505.    e.target.textContent = tvp_48;
  1506.  }
  1507.  
  1508.  function genKey() {
  1509.    var wi = $('#wordIn');
  1510.    if(wi.value == '') return;
  1511.    var gvkw = getValue('keyWords');
  1512.    if(gvkw == '') setValue('keyWords', wi.value);
  1513.    else setValue('keyWords', gvkw + '<>' + wi.value);
  1514.    wi.value = '';
  1515.    $('#showB').setAttribute('style', 'opacity:1;pointer-events:all');
  1516.    $('#remB').setAttribute('style', 'opacity:1;pointer-events:all');
  1517.    hideItem();
  1518.  }
  1519.  
  1520.  function remKey(e) {
  1521.    var wi = $('#wordIn');
  1522.    if(wi.value == '') return;
  1523.    var names = [], undo = [];
  1524.    var kw = getValue('keyWords').split('<>'), kwu = wi.value.split('<>');
  1525.    for(k = 0; k < kw.length; k++) names.push(kw[k]);
  1526.    for(i = 0; i < kwu.length; i++) undo.push(kwu[i]);
  1527.    var Array1 = names, Array2 = undo;
  1528.    for (var i = 0; i < Array2.length; i++) {
  1529.      var arrlen = Array1.length;
  1530.      for (var j = 0; j < arrlen; j++)
  1531.      if (Array2[i] == Array1[j]) Array1 = Array1.slice(0, j).concat(Array1.slice(j+1, arrlen));
  1532.    }
  1533.    var newStr = Array1.toString();
  1534.    newStr = newStr.replace(/,/g, '<>');
  1535.    if(newStr.indexOf('<>') == 0) newStr = newStr.substring(2, newStr.length);
  1536.    setValue('keyWords', newStr);
  1537.    wi.value = '';
  1538.    //document.location.reload();
  1539.    content.location.reload();
  1540.  }
  1541.  
  1542. })();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top