diff --git a/content.js b/content.js
index 9ec6ab43bdb6d67bbc991531d03c3836da2c1ce1..5289a14d11acd709a7e652d09ccbdf67adf9cfed 100644
--- a/content.js
+++ b/content.js
@@ -598,9 +598,11 @@ let Content = {
       let p = 0;
       ['C4', 'D4', 'D#4', 'C#4', 'E4'].forEach(function (id) {
         let b = doc.getElementById(id);
-        b.click();
-        p += b.classList.contains('last-played') ? 1 : 0;
-        p += doc.querySelectorAll('.last-played').length == 1 ? 1 : 0;
+        if (b) {
+          b.click();
+          p += b.classList.contains('last-played') ? 1 : 0;
+          p += doc.querySelectorAll('.last-played').length == 1 ? 1 : 0;
+        }
       });
       return { points: p };
     },