Sei doch bitte mal so lieb und lösche den Skript cache und mache die Testreihe noch einmal.
Hier mal nach dem Test exemplarisch die Meldung aus der Konsole.
Code
15:42:45.054 Uncaught TypeError: document.getElementById(...) is null
<anonymous> file:///H:/Profile/Firefox/Fx57-H-Default/chrome/Testversion_2a.js:30
<anonymous> file:///H:/Profile/Firefox/Fx57-H-Default/chrome/Testversion_2a.js:45
loadScript file:///C:/Program Files/RV/Mozilla Firefox/userChromeJS/utilities.js:114
Testversion_2a.js:30:13
<anonym> file:///H:/Profile/Firefox/Fx57-H-Default/chrome/Testversion_2a.js:30
<anonym> file:///H:/Profile/Firefox/Fx57-H-Default/chrome/Testversion_2a.js:45
loadScript file:///C:/Program Files/RV/Mozilla Firefox/userChromeJS/utilities.js:114
%appdata%\Mozilla\Firefox\Profiles\Profilname\chrome_debugger_profile\startupCache
Hm, ich denke, das das der falsche startupCache-Ordner ist, meinst Du nicht eher den startupCache-Ordner auf der obersten Ebene des Profils sprich den ↓?
%appdata%\Mozilla\Firefox\Profiles\Profilname\startupCache
