|
var filmTitle = document.querySelector("#featured-film-header h1").textContent, |
Maybe switch to:
document.querySelector("#content h1")?.textContent || document.querySelector(".primaryname")?.textContent
Both work, but doing it this way hopefully it breaks not as easily.
Letterboxd-Scripts/Letterboxd_External_Ratings.user.js
Line 374 in 5f8e376
Maybe switch to: