userscripts/last_fm_remove_titles/last_fm_remove_titles.js

13 lines
511 B
JavaScript
Raw Normal View History

2021-05-25 09:30:33 +00:00
// ==UserScript==
// @name Remove title attributes
// @namespace Violentmonkey Scripts
2021-05-25 09:37:04 +00:00
// @match https://www.last.fm/music/*
2021-05-25 09:30:33 +00:00
// @grant none
2021-05-25 09:37:04 +00:00
// @version 1.1
2021-05-25 09:30:33 +00:00
// @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')
})