Guest User

Google Pacman Doodle Hack Infinite Lives

a guest
Sep 4th, 2018
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Google Pacman Doodle Hack Infinite Lives
  2.  
  3. 1) Open Google Chrome (stupid Firefox Inspector can't edit the JS scripts for some reason)
  4. 2) Go to https://www.google.com/logos/2010/pacman10-hp.html#bg=black&autoplay (direct page)
  5. 3) Right mouse Click on the doodle, then Inspect (Ctrl+Shift+I ?) then go to the Sources tab
  6. 4) go to top -> www.google.com -> logos -> js -> pacman10-hp.10.js
  7. 5) Ctrl+F -> search through the script for 1E4, you will find a piece of code like
  8.  
  9. ...lc=function(a,b){Xa[b]+=a;!Ya[b]&&1E4<Xa[b]&&(Y("extra-life",0),...
  10.  
  11. edit it and change to
  12.  
  13. ...lc=function(a,b){Xa[b]+=a;(Y("extra-life",0),...
  14.  
  15. to weaken the condition needed to get an extra-life.
  16. Now you'll get an extra life every time you eat a dot :)
  17. Max number of lives = 5 for some reason. Stupid Google XD
RAW Paste Data