G33K-TRICKS: Google
Showing posts with label Google. Show all posts
Showing posts with label Google. Show all posts

Tuesday, May 26, 2020

Easy Trick to hack Google Chrome TRex Dino Jump game



Hack the Dino Jump Chrome Game


I am 100% sure that you must have seen this screen if you are a Chrome user. Yes, I am talking about the "No Internet" screen where you see 
"ERR_INTERNET_DISCONNECTED" error message along with a nice black and white TRex.                                                                      
T-rex Dino jump game chrome hack auto mode

 
If you have seen it, you would also knew that, on hitting Space-bar button, the Trex jumps and an offline, inbuild game starts. Apparently, the game name is Jump the Dino TRex. This game is all fun to play while you wait for your internet connectivity to return back. You can play if for hours, if you keep your concentration full and do not make mistake by jumping or ducking at the wrong time.

If so, you feel to keep playing this game till the end, you can complete it on your own tirelessly forever or you can try hacking this game with two simple methods.
Either you enable autoplay or you become immortal. Immortality is boon that game developers use to test the games.
So how about trying immortality in the game.

First things first, how to start this game when you have Internet already.
Simply enter "chrome://dino" in to the Google Chrome URL, the game would launch. Another way to do this is, you need to know is "Inspect Element" feature which all the browser usually have for inspecting items of the  apps/ websites. To open this feature, right click anywhere on the browser and you would notice the dropdown menu has Inspect option OR you can try CTRL+SHIFT+I  / CTRL+SHIFT+C to open this menu. 

T-rex Dino jump game chrome hack



Among the different tabs, Click on Network Tab, Click on Offline option from the list.
This would launch the Dino game.


Trick to hack Dino game starts here

T-rex Dino jump game chrome hack


While in the game, in the same Inspect element screen, Click on Console option.

Runner.prototype.gameOver = function(){}

And Press Enter. This would result in No Game Over scenario. Check the screenshot above. The Dino just passed-by the cactus plant without the need of Jumping over it. But it ain't fun watching the dino passby without jumping so lets move to another trick.


The second G33ktrick which I was trying to explain was Auto-Play. If you want to try out AutoPlay where Dino jumps on its own, enter the below code as-is to the Console and press Enter. Refer the below screenshot from the Chrome Browser.
Let the game go on autopilot mode and enjoy it. You can boast your High Score record to your Friends.

const autoloop = function() { 

 if(window.Runner.instance_.tRex.jumping) 
{  requestAnimationFrame(autoloop);
return;  
const tRexLocation = window.Runner.instance_.tRex.xPos; 
const cactus = window.Runner.instance_.horizon.obstacles; 
const nextCactus = cactus.find(o => o.xPos > tRexLocation);  
if(nextCactus && (nextCactus.xPos - tRexLocation) <= 120)
window.Runner.instance_.tRex.startJump(50) 
}  
requestAnimationFrame(autoloop);  
}  
requestAnimationFrame(autoloop);


T-rex Dino jump game chrome







Tuesday, July 9, 2019

How to set Dark Theme for Google Chrome mobile


Set Dark Theme on Chrome Mobile Application

One of the most used and famous browser everyone knows of is Google Chrome. The browser supports multiple platform like Windows, Mac, Android, iOS. The ease of use and quick webpage rendering and hundreds of useful extensions makes it highly used web browser.

Coming back to the topic, as of now Google has no roadmap to allow user to Set Dark Theme, so, here are few g33ktricks to allow you to set the Dark Theme OR set Night Mode on Android Chrome browser.

1. Set Dark Theme using Chrome Flag

1. Update the Chrome to the latest version from Play Store.
    Open PlayStore app - > Search Google Chrome -> Click on "Update" button

2. Open the Browser and type the URL – chrome://flags
Chrome Flags Setting Page
Chrome Flags Page
3. Now Search for the term ‘Dark’.

4. Two options will be shown
Android web Contents Dark Mode
 and
Android UI dark mode.

5. Web Contents Dark Mode - This will make the content on the website dark
UI dark mode - This will make the Chrome UI dark leaving the content on the site unaffected.

6. Make your choice accordingly. Close the Google Chrome app and the Launch it again.

7. The Night Mode or Dark Theme will be set and the webpages will be having black background and white text.
You can reset this setting back by opening Chrome Settings and click on "Dark Mode" option.


2. Using Reader Mode

Reading mode shows the webpages like pages on the book providing ease of reading by removing Javascripts, ads etc.

Steps to enable Reader mode

1. Open Chrome app and Tap 3 dots on the Right-Top of the screen

2. Click on "Settings"

3. Search for "Accessibility" option and swithch-on the "Simplified" view.

4. Now Open any of  the web-page you like. Bottom of the screen will shown an option ‘Show Simplified View’. Click on it.
Chrome Flag Appearance Option
5. This will again show "Appearance" option again.

6. Simply increase the intensity of Dark in the given options.


You might like to read: How to Speed-up your Chrome Browser

Tuesday, May 1, 2018

How to Download PDF from Scribd.com for Free



How to View or Download document or PDF from Scribd.com 

This would be one of the most useful tricks of all that you must be in need for.

What Exactly is Scribd.

So, Scribd is a digital library, e-book and audiobook subscription service that includes one million titles. Scribd hosts 60 million documents on its open publishing platform


And download the pdf documents, you need to Register yourself.
But in-case, you found a document on Scribd which you really need but not sure whether this is exactly what you want, you can see a preview. This preview page will have few pages shown from the PDF file and rest of the PDF would be blurred. And what-if you want to see those pages which are blurred.
Here is a simple solution to that problem.



Scribd unblur g33ktricks.blogspot.com
Scribd extension
From your Chrome Browser and go to :https://chrome.google.com/webstore
[ This is Chromes Store for Extensions ]

Here, search for Scribd Unblur.
Install any of these extensions by clicking
"Add to Chrome" button.

Once installed, open scribd.com
Search for the Book you need and Open it.

If the pages are shown blurred.  Click "U" button from top right of your Chrome extension list to Unblur that document.
And its Done.
Now you can enjoy reading the book without any hassle of registering to Scribd.com.

If you find the book useful, be a nice human,  register to Scribd.com and then view or download the book.

This is for educational purpose:
If you need to download that info from the PDF,
Right-click the page and click on "Save-as" option
Save the Complete page as .html file on you computer.
Next time when you want to read the file offline, just double-click to open that file.
And click on Unblur button on chrome to unblur the pages.

Sunday, April 15, 2018

Google Android P might have been named Popsicle


Android P was first released in March, but it’s still known as “Android P” . Google has not named it yet, But intrestingly, in recent Instagram post from Google, Google has released sets of new 5 wallpapers to their followers. (Yes, google do like Instagram and has 6.2M followers)
Here is the link to Google Instagram: https://www.instagram.com/google/

These wallpapers are more like other Google's fancy wallpaper but among them, one stands different from other . Hope this does ring bells. That could be a hint from Google about the name of next release.


Google P = Google Popsicle




Or Google is just being witty and trolling their followers :)

Interestingly, Google named it Pie