You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

This topic should crash your browser [Google Chrome]

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

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

u/gameblabla November 02, 2016, 09:30:24 AM
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.
Last Edit: November 02, 2016, 09:32:54 AM by gameblabla
u/Dream of Omnimaga November 02, 2016, 03:59:27 PM
Wow, I didn't know this. Nice trickif it'scross-browser compatible. :)
u/novenary November 02, 2016, 04:24:42 PM
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.
u/Dream of Omnimaga November 02, 2016, 04:31:31 PM
Hm I see. I am curious about if it works in IE6 :P
u/Yuki November 02, 2016, 05:19:17 PM
Oooh, nice.
u/ben_g 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
u/Dream of Omnimaga December 30, 2016, 04:29:32 AM
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)
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal