Skip to content

Instantly share code, notes, and snippets.

@Klaster1
Created January 8, 2021 08:50
Show Gist options
  • Save Klaster1/627827b102a9ea1588979f59c0f73eb4 to your computer and use it in GitHub Desktop.
Save Klaster1/627827b102a9ea1588979f59c0f73eb4 to your computer and use it in GitHub Desktop.
MangaUpdates reading "Add rating" fix user script
// ==UserScript==
// @name MangaUpdates reading list rating fix
// @author Klaster_1
// @version 1.0.0
// @match https://www.mangaupdates.com/mylist.html?list=read
// @description Fixes reading list "Add Rating" feature
// @icon https://www.mangaupdates.com/favicon.ico
// @downloadURL https://gist.githubusercontent.com/Klaster1/627827b102a9ea1588979f59c0f73eb4/raw/mu-reading-list-rating-fix.user.js
// @updateURL https://gist.githubusercontent.com/Klaster1/627827b102a9ea1588979f59c0f73eb4/raw/mu-reading-list-rating-fix.user.js
// @grant none
// ==/UserScript==
document.querySelectorAll('a[href*=addRating]').forEach(el => el.parentElement.id = `k${el.closest('[id]').id.slice(1)}`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment