1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

Add URL as tooltip

This commit is contained in:
Raymond Hill 2021-01-07 08:19:02 -05:00
parent 6dfdac6719
commit 1fcc3c6ddc
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -37,6 +37,8 @@ const frameURLElem = document.getElementById('frameURL');
frameURLElem.children[0].textContent = frameURL;
frameURLElem.children[1].href = frameURL;
document.body.setAttribute('title', frameURL);
const onWindowResize = function() {
document.body.style.width = `${self.innerWidth}px`;
document.body.style.height = `${self.innerHeight}px`;