Add last_fm_remove_titles.js

This commit is contained in:
Lukáš Kucharczyk 2021-05-25 11:30:33 +02:00
parent 74f4ec0837
commit 3b1c6ab424
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
// ==UserScript==
// @name Remove title attributes
// @namespace Violentmonkey Scripts
// @match https://www.last.fm/music/
// @grant none
// @version 1.0
// @author Lukáš Kucharczyk
// @description Removes all title attributes of all <a> tags.
// @downloadURL https://git.kucharczyk.xyz/lukas/userscripts/raw/branch/main/last_fm_remove_titles/last_fm_remove_titles.js
// ==/UserScript==
document.querySelectorAll('a[title]').forEach((el) => {
el.removeAttribute('title')
})