mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
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 ) {
|
if ( td ) {
|
||||||
td.removeAttribute('colspan');
|
td.removeAttribute('colspan');
|
||||||
td.removeAttribute('title');
|
|
||||||
td.textContent = '';
|
td.textContent = '';
|
||||||
} else {
|
} else {
|
||||||
td = document.createElement('td');
|
td = document.createElement('td');
|
||||||
@ -199,6 +198,7 @@ var createRow = function(layout) {
|
|||||||
if ( tr ) {
|
if ( tr ) {
|
||||||
tr.className = '';
|
tr.className = '';
|
||||||
tr.removeAttribute('data-context');
|
tr.removeAttribute('data-context');
|
||||||
|
tr.removeAttribute('data-frame');
|
||||||
} else {
|
} else {
|
||||||
tr = document.createElement('tr');
|
tr = document.createElement('tr');
|
||||||
}
|
}
|
||||||
@ -268,10 +268,13 @@ var renderNetLogEntry = function(tr, entry) {
|
|||||||
createGap(entry.tab, url);
|
createGap(entry.tab, url);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Root hostname
|
// Contexts
|
||||||
if ( entry.d3 ) {
|
if ( entry.d3 ) {
|
||||||
tr.setAttribute('data-context', entry.d3);
|
tr.setAttribute('data-context', entry.d3);
|
||||||
}
|
}
|
||||||
|
if ( entry.d4 ) {
|
||||||
|
tr.setAttribute('data-frame', entry.d4);
|
||||||
|
}
|
||||||
|
|
||||||
// Cosmetic filter?
|
// Cosmetic filter?
|
||||||
var filterCat = filter.slice(0, 3);
|
var filterCat = filter.slice(0, 3);
|
||||||
@ -300,11 +303,7 @@ var renderNetLogEntry = function(tr, entry) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tr.cells[4].textContent = (prettyRequestTypes[type] || type);
|
tr.cells[4].textContent = (prettyRequestTypes[type] || type);
|
||||||
td = tr.cells[5];
|
tr.cells[5].appendChild(nodeFromURL(url, filter));
|
||||||
td.appendChild(nodeFromURL(url, filter));
|
|
||||||
if ( entry.d4 ) {
|
|
||||||
td.setAttribute('title', entry.d4);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user