Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 28, 2016, 03:29:28 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Chromium bug... turned into a game?  (Read 515 times)

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,274
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Chromium bug... turned into a game?
« on: September 22, 2015, 07:52:13 PM »
Courtesy of Make Use Of:

Quote
Chrome’s Terrible Bug Turned Into a Game

As of Monday, Chrome is vulnerable to a bug that can crash any tab, just by hovering over links with certain characters in succession. This is obviously terrible, but you know the old saying: when life gives you bugs, make bug-based games.

3030 is a simple game where you move your mouse through a maze of potentially browser-crashing links. Don’t touch a tree!

browser-game.png

https://github.com/szhu/3030/tree/master

From the page
Quote
Mouse your way through the map without touching the deadly trees! (Chrome, Opera, etc. only)

WARNING: Do you have important, unsaved work open in other tabs?
You need to close this tab RIGHT NOW. Go save your work. Come back. Enjoy!

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 1,857
    • View Profile
    • Donate to Member
Re: Chromium bug... turned into a game?
« Reply #1 on: September 22, 2015, 10:51:51 PM »
My Chrome tab goes to "Aw snap" as soon as I hover anywhere on those images. Tree or not.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,274
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Chromium bug... turned into a game?
« Reply #2 on: September 23, 2015, 07:24:56 AM »
My Chrome tab goes to "Aw snap" as soon as I hover anywhere on those images. Tree or not.

Mine did it as advertised.  Not sure why yours is different behaviour.  The code and the rationale behind it is really simple too.

From https://github.com/szhu/3030/blob/master/src/game.py

Code: Python [Select]
  1. yield '[ohai]: http://www.berkeley.edu/'
  2. yield '[onoe]: http://www.stanford.edu/%%30%30'

That's the two lines that replicate the bug.  The bears are linked to berkeley, and the trees are linked to stanford.  And I'm sure there's something behind that. :)

Those are arranged by a python script into arrays with the images, using a map file to position them in markdown.  So with it being that simple, not sure why it wouldn't work.

One caution that I found out the hard way... if you do this too many times, you can corrupt your chrome for any other tabs you have open.  That's why they said close all tabs, even though it only messes with one.  After that, since I had amazon up, when I tried to browse, Amazon would lock up my machine.  I cleared the cache for the last hour... and it started working again.
« Last Edit: September 23, 2015, 07:30:21 AM by wraith808 »

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 7,647
    • View Profile
    • The Blog of Deozaan
    • Read more about this member.
    • Donate to Member
Re: Chromium bug... turned into a game?
« Reply #3 on: September 23, 2015, 12:46:22 PM »
Interesting and clever. :)