userscripts/last_fm_remove_titles/last_fm_remove_titles.user.js

13 lines
525 B
JavaScript
Raw Permalink Normal View History

2021-05-25 09:30:33 +00:00
// ==UserScript==
2022-10-17 13:44:41 +00:00
// @name Last.fm: remove title attributes
2021-05-25 09:30:33 +00:00
// @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
2022-10-17 13:46:33 +00:00
// @version 1.2
2021-05-25 09:30:33 +00:00
// @author Lukáš Kucharczyk
// @description Removes all title attributes of all <a> tags.
2022-10-17 13:42:53 +00:00
// @downloadURL https://git.kucharczyk.xyz/lukas/userscripts/raw/branch/main/last_fm_remove_titles/last_fm_remove_titles.user.js
2021-05-25 09:30:33 +00:00
// ==/UserScript==
document.querySelectorAll('a[title]').forEach((el) => {
el.removeAttribute('title')
})