Ok, here's a start:
!function(){var o=angular.element(document).injector(),t=o.get("accountProductsRepository"),e=o.get("accountProductDetails"),n =t._products;for(productId in n){var c=n[productId];c.updates>0&&(console.log("Clearing updates status for: "+c.title),e.requestGameDetails(c.id).then(function(){console.log("Done.")},function(){console.log("Error...") }))}}();
This is courtesy of
Johny, run it in the console on the account page and it should clear all the game updates in your actual library. It will still take a while for the menu bar notifications to drop off, but it saves clicking through every game and clearing them manually.
I can clear the notifications but it doesn't stick (using the below code in the console), so I'll need to find a way to actually ping back to the server that you no longer have or need the notifications so they don't reload.
I'll look into it later.
var notifScope = angular.element(document.querySelectorAll('._dropdown__toggle span')).scope();
notifScope.notifications.productUpdates=0;
notifScope.notifications.total=0;
notifScope.notifications.has.productUpdates=false;
notifScope.$apply();
Run this anywhere on Gog and it should clear the notifications from the bar (but only until refresh unfortunately, I'll need to find a better way to actually clear them)