Skip to content

Instantly share code, notes, and snippets.

@wlib
Created September 6, 2017 03:02
Show Gist options
  • Select an option

  • Save wlib/fda71665250ab50c6d6fe2957e2e9ac1 to your computer and use it in GitHub Desktop.

Select an option

Save wlib/fda71665250ab50c6d6fe2957e2e9ac1 to your computer and use it in GitHub Desktop.
Enterprise enrolled chromebooks at schools disable the chrome dino game. This is a work-around to make life without wifi fun again.
  1. Copy the bottom line of code
  2. If the bookmarks bar is hidden, use the keystoke (Control + Shift + B)
  3. Right click on Bookmarks Bar
  4. Select "Paste"
  5. Click that bookmark whenever you are offline, right before you actually start playing the dino game
  6. To test this out now, type "chrome://dino" in the url box

javascript:Runner.instance_.loadImages();style=document.createElement("style");document.head.appendChild(style);style.sheet.insertRule(".snackbar-show { animation: unset }");

@FancyOtter99
Copy link

javascript:Runner.instance_.loadImages();style=document.createElement("style");document.head.appendChild(style);style.sheet.insertRule(".snackbar-show { animation: unset }");

@FancyOtter99
Copy link

doesn't work as bookmarklet only directly in console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment