Tampermonkey® by Jan Biniok

Q208: My scripts are only executed after several reloads, the console prints "pagejs missing".

A208 This is caused by a bug in Chromium that causes Tampermonkey's content scripts to run in the wrong order. Unfortunately the order matters and due to timing constraints it is not possible to wait longer for the other content script than already done. This bug "only" happens when the extension is updated from a previous stable version lower than 4.18. To fix the issue simply:

  • Disable Tampermonkey extension
  • Restart browser (make sure that all browser processes are gone, better restart the computer)
  • Enable Tampermonkey extension
  • Restart browser

Disabling the extension seems to cleanup things and the content scripts are executed in the right order again.

If it still doesn't work, then please

  • export your settings and scripts (you can try importing them into the BETA version first to be on the safe side) and
  • re-install Tampermonkey and
  • import the backup again.