User:Technical 13/common.js: Difference between revisions

Content deleted Content added
Technical 13 (talk | contribs)
m Debugging...
Technical 13 (talk | contribs)
m Debugging...
Line 25:
timeNow.setMinutes(minNow);
var postTime = $('td.mw-enhanced-rc').html();
for (i=0;i<6;i++) {var postTime = postTime.replace("&nbsp;", "");}/*
var postTime = postTime.replace("<span class="mw-enhancedchanges-arrow-space"></span>", "");
var postTime = postTime.replace("<abbr class="newpage" title="This edit created a new page">N</abbr>", "");
var postTime = postTime.replace("<abbr class="minoredit" title="This is a minor edit">m</abbr>", "");
var postTime = postTime.replace("<abbr class="botedit" title="This edit was performed by a bot">b</abbr>", "");
var postTime = postTime.replace("<abbr class="unpatrolled" title="This edit has not yet been patrolled">!</abbr>", "");/*/
var postTime = postTime.split(':', "2");
var postHour = postTime[0];
Line 39:
var SHOE = timePost + " =?= " timeNow;
$('td[class="mw-enhanced-rc"]').each(function() {this.innerHTML = this.innerHTML.replace('&nbsp;&nbsp;&nbsp;', SHOE);});
/*if (timePost >= timeNow) {$('td.mw-enhanced-rc').css({fontWeight: 'bold', fontSize: '12pt'});}*/
}