Created
January 31, 2020 13:57
-
-
Save joshdholtz/f8dab8b4504188b60917840fd7ab0976 to your computer and use it in GitHub Desktop.
When Twitter fails to refresh, you run π£_service_workers.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Once a weeek (or so) I won't be able to reload anything on Twitter (web) | |
// There page reload gets stuck at about 30% | |
// Twitter works in private browser instances and other browsers | |
// There is some issue in the service worker that is preventing a refresh | |
// The only solution is to run this in the open up the Javascript Console and run this | |
navigator.serviceWorker.getRegistrations().then(function(registrations) { | |
for(let registration of registrations) { | |
registration.unregister() | |
} }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment