mirror of https://github.com/gorhill/uBlock.git
Add URL as tooltip
This commit is contained in:
parent
6dfdac6719
commit
1fcc3c6ddc
|
@ -37,6 +37,8 @@ const frameURLElem = document.getElementById('frameURL');
|
||||||
frameURLElem.children[0].textContent = frameURL;
|
frameURLElem.children[0].textContent = frameURL;
|
||||||
frameURLElem.children[1].href = frameURL;
|
frameURLElem.children[1].href = frameURL;
|
||||||
|
|
||||||
|
document.body.setAttribute('title', frameURL);
|
||||||
|
|
||||||
const onWindowResize = function() {
|
const onWindowResize = function() {
|
||||||
document.body.style.width = `${self.innerWidth}px`;
|
document.body.style.width = `${self.innerWidth}px`;
|
||||||
document.body.style.height = `${self.innerHeight}px`;
|
document.body.style.height = `${self.innerHeight}px`;
|
||||||
|
|
Loading…
Reference in New Issue