aboutsummaryrefslogtreecommitdiffstats
path: root/tooltipise.js
diff options
context:
space:
mode:
Diffstat (limited to 'tooltipise.js')
-rw-r--r--tooltipise.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tooltipise.js b/tooltipise.js
new file mode 100644
index 0000000..8d90aba
--- /dev/null
+++ b/tooltipise.js
@@ -0,0 +1,7 @@
+(function() {
+ var title_elements = document.querySelectorAll('.yt-uix-sessionlink.yt-uix-tile-link');
+
+ for (var i = 0; i < title_elements.length; i++) {
+ title_elements[i].setAttribute('title', title_elements[i].innerText);
+ }
+})()