1
0
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:
gorhill 2015-06-04 23:33:40 -04:00
parent 53a78ceb39
commit 9706e8ab24

View File

@ -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));
};
/******************************************************************************/