mirror of https://github.com/gorhill/uBlock.git
tooltip is annoying, frame context will be exposed in next version
This commit is contained in:
parent
53a78ceb39
commit
9706e8ab24
|
@ -181,7 +181,6 @@ var createCellAt = function(tr, index) {
|
|||
}
|
||||
if ( td ) {
|
||||
td.removeAttribute('colspan');
|
||||
td.removeAttribute('title');
|
||||
td.textContent = '';
|
||||
} else {
|
||||
td = document.createElement('td');
|
||||
|
@ -199,6 +198,7 @@ var createRow = function(layout) {
|
|||
if ( tr ) {
|
||||
tr.className = '';
|
||||
tr.removeAttribute('data-context');
|
||||
tr.removeAttribute('data-frame');
|
||||
} else {
|
||||
tr = document.createElement('tr');
|
||||
}
|
||||
|
@ -268,10 +268,13 @@ var renderNetLogEntry = function(tr, entry) {
|
|||
createGap(entry.tab, url);
|
||||
}
|
||||
|
||||
// Root hostname
|
||||
// Contexts
|
||||
if ( entry.d3 ) {
|
||||
tr.setAttribute('data-context', entry.d3);
|
||||
}
|
||||
if ( entry.d4 ) {
|
||||
tr.setAttribute('data-frame', entry.d4);
|
||||
}
|
||||
|
||||
// Cosmetic filter?
|
||||
var filterCat = filter.slice(0, 3);
|
||||
|
@ -300,11 +303,7 @@ var renderNetLogEntry = function(tr, entry) {
|
|||
}
|
||||
|
||||
tr.cells[4].textContent = (prettyRequestTypes[type] || type);
|
||||
td = tr.cells[5];
|
||||
td.appendChild(nodeFromURL(url, filter));
|
||||
if ( entry.d4 ) {
|
||||
td.setAttribute('title', entry.d4);
|
||||
}
|
||||
tr.cells[5].appendChild(nodeFromURL(url, filter));
|
||||
};
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue