Join us on Discord!
You can help CodeWalrus stay online by donating here.

This topic should crash your browser [Google Chrome]

Started by Yuki, November 01, 2016, 03:34:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gameblabla

#15
Cool !
Somehow, that reminds me how it's possible to insert javascript code in gifs.
Do run this :
<html><head>
<img src="microbee.gif">
<script src="microbee.gif">
</script>
</head><body></body></html>


And download this pict.

It should work on Firefox.
  • Calculators owned: None (used to own an Nspire and TI-89)

Dream of Omnimaga

Wow, I didn't know this. Nice trickif it'scross-browser compatible. :)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

novenary

This is how it works apparently. https://quadhead.de/storing-javascript-code-in-gif-images/
It shouldn't be harmful, considering you need the ability to inject a <script> tag into the page.

Dream of Omnimaga

Hm I see. I am curious about if it works in IE6 :P
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Yuki

  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

ben_g

Quote from: DJ Omnimaga on November 02, 2016, 04:31:31 PM
Hm I see. I am curious about if it works in IE6 :P
IE6 doesn't even need such a gif to crash while loading a page :P

Dream of Omnimaga

Quote from: ben_g on November 02, 2016, 05:23:45 PM
Quote from: DJ Omnimaga on November 02, 2016, 04:31:31 PM
Hm I see. I am curious about if it works in IE6 :P
IE6 doesn't even need such a gif to crash while loading a page :P
IE6 crashed much less than the 2005-07 versions of Firefox, though :P (version 1.05 until the end of 2.x). I had to CTRL+Alt+Del every 5 minute or so when using Firefox.

There was also the bug that caused Firefox to use 6 times more resources than Crysis at maxed out settings when a link was broken from time to time. Firefox would just freeze and make the entire computer lag like crazy for about 30 seconds before the Page cannot be found/loaded screen appeared.

Anyway I clicked the first post link in Opera and the tab just said out of memory after freezing for a second. To be honest, I don't like data images because they're hard to share (since the URL is so long and often won't fit in the address bar)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal