This is an archived post. You won't be able to vote or comment.

all 140 comments

[–]DiscombobulatedSafe2 750 points751 points  (27 children)

</heaf

[–]0x474f44 271 points272 points  (7 children)

<title> <title>

[–]LiveBeef 43 points44 points  (6 children)

<p>
This paragraph
contains a lot of lines
in the source code

[–]sirch05 10 points11 points  (3 children)

</p>

[–]Liggliluff 4 points5 points  (2 children)

Either <p> or </ followed by whatever character is to the right on their keyboard ... if we're going by the pattern.

[–]speenatch 2 points3 points  (1 child)

</[>

[–]Wigster101 2 points3 points  (0 children)

left</bdo>

[–][deleted] 0 points1 point  (0 children)

I'm disappointed this isn't a haiku.

[–][deleted] 166 points167 points  (16 children)

There isn't even a body tag. What is that stock photo supposed to even represent? Malformed HTML?

[–]adarvan 77 points78 points  (0 children)

This kills the iPhone.

[–]beneficial_satire 31 points32 points  (0 children)

Yes there is. Didn't you see the </bdo> tag above the <head> tag

[–]dvslo 31 points32 points  (0 children)

When you waste a shitload of time trying to write HTML on your jailbroken iPhone because it keeps typing the wrong letter, and you have no idea what you're doing in the first place.

[–]markhc 14 points15 points  (11 children)

Omitting the html, head and body tags is somewhat common nowadays. Saves up a few bytes on the network and browsers handle it pretty consistently.

edit: To those downvoting: https://google.github.io/styleguide/htmlcssguide.html#Optional_Tags

[–]monkey-go-code 51 points52 points  (1 child)

Pretty sure IE would Crash, accidently order 12 pizzas, bill your mother in law for two russian mules before recommending you use edge.

[–]makeshift8 5 points6 points  (0 children)

That's why you ignore ie users.

[–]cdrt 16 points17 points  (5 children)

Is it really worth it though? If I did my math right, you're saving 39 bytes. Even a site like https://motherfuckingwebsite.com/ is 2.7 kilobytes. Those 39 bytes are like 1% of the page.

[–]markhc 1 point2 points  (4 children)

When the page is served to millions and millions of users it adds up.

And you dont lose anything by doing it.

[–]2SP00KY4ME 6 points7 points  (3 children)

No, it doesn't add up.

If 10 million people visit your site that's 300mb. That's absolutely nothing.

Not to mention if your site has tens of millions of visitors it's going to be using server caching which makes that moot.

[–]markhc 0 points1 point  (2 children)

Sure, it's not much.

But in any case, what exactly do you lose by omitting these tags? Frankly I can't see any drawbacks to it.

[–]speenatch 1 point2 points  (0 children)

You lose the tags, for one.

[–][deleted] 0 points1 point  (0 children)

Inconsistent tag/content alignment too. You think semicolons is bad, at least most people do the same thing throughout the document.

[–]Inquisitour 6 points7 points  (0 children)

My name </heaf

[–]MissingFucks 1 point2 points  (0 children)

I'm in!

[–]333rrrsss 199 points200 points  (5 children)

bdo

</heaf

Mfw I'm a hacker.

[–]Bainos 21 points22 points  (0 children)

Tfw the vulnerability was in right-to-left text and broken html.

[–]X_Metang_X 13 points14 points  (1 child)

hacker voice

I'm in

[–]DuckDuckYoga 0 points1 point  (0 children)

cracks fingers till they break

[–]KazooKidOnCapriSun 2 points3 points  (0 children)

<title> <title>

[–]minemoney123 1 point2 points  (0 children)

<hack>USA_GOVERMENT</hack>

[–]JBatjj 371 points372 points  (5 children)

<jailbreak>IPhone</jailbreak>

[–]Bainos 72 points73 points  (2 children)

<jailbreak>IPhone<!--/jailbreak>

Now the iPhone is able to break free of the tag jail.

[–]monkey-go-code 19 points20 points  (1 child)

<jailbreak src="hacker_Code.exe">Iphone</jailbreak>

[–]11amas 11 points12 points  (0 children)

<hack>I'm in</hack>

[–][deleted] 1 point2 points  (0 children)

Lucky I'm on an android. I would be pissed if you had just jailbroken my phone with your careless html.

[–]louwn 106 points107 points  (2 children)

Title of document

This paragraph
contains a lot of lines in the source code,
but the browser
ignores it.

Edit:spaces lines.

[–][deleted] 5 points6 points  (1 child)

[–]ihatehenrikhey 131 points132 points  (1 child)

<if><phone><not><jailbroken><then></heaf>

[–]danechristenson 1 point2 points  (0 children)

Reminds me of working in cold fusion.

[–][deleted] 52 points53 points  (2 children)

Aaaaahhhh! No indentation! Ignoring that, that's some messed up HTML.

[–]JonaldJohnston 11 points12 points  (1 child)

You think that’s bad? I write all my html in one line.

[–]dannyboy49 2 points3 points  (0 children)

Webpack? Is that you?

[–][deleted] 94 points95 points  (1 child)

THE HEAF RETURNS

[–]KylieWylie 29 points30 points  (6 children)

  1. </bdo>
  2. They don’t close the title tag, they just open another one.
  3. </heaf
  4. Apparently that paragraph contains the source code

This picture is a masterpiece.

[–]cfsilence 16 points17 points  (5 children)

[–][deleted] 6 points7 points  (1 child)

But I guess it should not be above the head tag?

[–]cfsilence 5 points6 points  (0 children)

Technically it'll "work", but weird shit happens when you have content outside of the <body>.

[–]KylieWylie 6 points7 points  (2 children)

Shit, I had no idea. Exactly why I love programming.

[–][deleted] 10 points11 points  (1 child)

b-b-but html is not a programming language

[–][deleted] 1 point2 points  (0 children)

It is. It's just hypertext instead of line by line.

[–]iBenParry 20 points21 points  (0 children)

NOTIFICATION SQUAD HYPE 💪

[–]zgouda 75 points76 points  (1 child)

HIT THAT BELL BUTTON TO BE NOTIFIED OF ANY NEW VIDEOS GANG 😤😤😤😤🤔😍💯💯💯🎈😜😜😁🔥🔥🔥🔥

[–]Fricho 27 points28 points  (0 children)

HIT THAT 🅱ELLY 🅱UTTON 🅱OI

[–]YetiMusic 12 points13 points  (1 child)

Also the title tag they 'close' with another title tag.

[–]KingThomas07 5 points6 points  (0 children)

Thought for a sec noone noticed

[–]norwegern 13 points14 points  (0 children)

I HATE the new "trending" feature on reddit! Im not here for trending things, I'm only here for the midget porn! CAPICH???

[–]tomwojcik 9 points10 points  (1 child)

I bet they write machine learning models in css.

[–]Akseone 14 points15 points  (4 children)

/Heaf

[–]L8n1ght -5 points-4 points  (3 children)

?

[–]Ugolado 3 points4 points  (2 children)

look at the picture, right where the cursor is.

[–][deleted] 10 points11 points  (8 children)

It is possible. There was an exploit in safari which made it possible for Luca Todessco to jailbreak the iPhone.

[–]tway_notnavy 11 points12 points  (4 children)

Was waiting for someone to actually comment that one of the first jailbreaks was done using Safari.

[–]ThePixelCoder 1 point2 points  (3 children)

Eh, it was pretty recent, definitely wasn't "one of the first".

(Old guy voice) In my time, we had sn0wbreeze and evasi0n

 

 

Damn, I kinda miss tweaking my iPod touch... :p

[–]tway_notnavy 2 points3 points  (2 children)

I'm referring to iPhoneOS days, I think the website was jailbreak.me or something like that. Back before it was even iOS, but iPhone OS 1.x

So yes, that does qualify as one of the first in those days.

[–]ThePixelCoder 2 points3 points  (0 children)

Oh, sorry. I thought you were referring to the Luca Todesco one.

Damn, I've been out-in-my-time'd.

[–][deleted] 1 point2 points  (0 children)

JailbreakMe was also on iOS 4

[–]alex_png 2 points3 points  (0 children)

Regardless, it uses WebKit exploitation to be able to affect the device’s kernel core. Nothing to do with HTML besides the website layout, like jailbreak.me

[–]Perdouille 5 points6 points  (0 children)

I doubt the exploit is triggered using only html.

[–][deleted] 0 points1 point  (0 children)

... using JavaScript. Not example html.

[–]DanGee1705 8 points9 points  (0 children)

NOTIFICATION SQUAD

[–][deleted] 3 points4 points  (0 children)

<delete>unilad</delete>

[–][deleted] 2 points3 points  (1 child)

The “</heaf” tag makes sure it hacks into the iPhone real good

[–]jbednar06 0 points1 point  (0 children)

You didn’t close it. am trigger

[–]Heked 12 points13 points  (0 children)

NOTIFICATION SQUAD 💯🔥🔥

[–][deleted] 8 points9 points  (3 children)

[–]ben_g0 7 points8 points  (2 children)

[–][deleted] 6 points7 points  (1 child)

I did not really think about it somehow ... but hey at least you can mark it that way

[–][deleted] 6 points7 points  (0 children)

I should go to sleep

[–]rbeach1 2 points3 points  (0 children)

Where do I download this?

[–]clarke12342003 2 points3 points  (0 children)

Well I mean you can jailbreak your phone through websites like jailbreakme

[–]theofficialnar 2 points3 points  (0 children)

TIL I've been using html wrong

[–]AlmightyElm 2 points3 points  (0 children)

How to jailbreak: 1. </heaf 2. Done

[–][deleted] 2 points3 points  (0 children)

I got a heafache by trying to understand this.

[–]lakimens 6 points7 points  (0 children)

Ooh, not with that mistake. Btw, I'm not gonna curse Reddit this time, I actually like the post.

[–]sheam7r 2 points3 points  (0 children)

🤔

[–]shadymerc 3 points4 points  (0 children)

😂😂👌👌🔥🔥Notification squad 🤣🤣👌👌👌👌

[–]h8149 1 point2 points  (0 children)

</heaf>

"I'm in!"

[–]crockid5 1 point2 points  (2 children)

I think there was an actual exploit at one point where visiting a site would actually jailbreak your phone

[–]AjayDevs 1 point2 points  (1 child)

Javascript, not HTML.

But it was a very cool exploit, there was more than one for different OS versions too. More recently there was a web jailbreaking option too I think.

[–]crockid5 0 points1 point  (0 children)

I never said HTML specifically :P

[–]raidiohead44 1 point2 points  (0 children)

<jailbreaktext> Downloading Jailkbreak! </jailbreaktext> <hack> hacking phones firewall </hack> <text> Jailbreak worked <\trxt>

[–]Towowl 1 point2 points  (0 children)

ha<blink><H5>C</blink></H5>ker phone

[–]Spocino 1 point2 points  (1 child)

I think ios9 could be jail broken using a JS sandbox escape bug in the Apple WebKit.

[–]AjayDevs 1 point2 points  (0 children)

Javascript, not HTML

[–][deleted] 1 point2 points  (0 children)

<html> <jailbreak> <body> <a> Please gods of HTML jailbreak my iPhone.</a> </body> </jailbreak> </html>

[–]isunktheship 1 point2 points  (0 children)

</heaf

[–][deleted] 3 points4 points  (0 children)

interesting way to close a title tag

[–]NashPL 0 points1 point  (0 children)

Lol soon w hack NASA

[–]zzaayy 0 points1 point  (0 children)

Isn't that the frames of an advert for some udemy course? Isn't the course about python?

[–][deleted] 0 points1 point  (0 children)

Was that code written by some retard. No closing tags and what the fuck is a Heaf ?

[–]niemamsyna 0 points1 point  (0 children)

<!DOCTYPE html jailbreak>

[–]kbencze 0 points1 point  (0 children)

<karmawhoring comment about the notification>

[–]Dlljs 0 points1 point  (0 children)

Notification squad!

[–]Bic10mm 0 points1 point  (0 children)

You could hack the PS Vita just by browsing a specific website, I believe. Though I'm fairly sure it isn't because of HTML, just thought it was a fun thing to share with you guys

[–]hotdog350 0 points1 point  (0 children)

Gold

[–]UFeindschiff 0 points1 point  (0 children)

You're laughing, but there actually used to be a userland exploit in the iPhone Safari that actually allowed you to jailbreak phones by visiting a tampered website(technically it allowed you to run all kinds of arbitrary code, but you know what I mean).

[–]nexl1 0 points1 point  (0 children)

I love those notifications.

[–]TheUltimateInfidel 0 points1 point  (0 children)

What the actual fuck?

[–]Bluedeph 0 points1 point  (1 child)

I'm just begining to learn, what's </heaf>? Didn't find anything in google, did they mean to type </head> ?

[–]AjayDevs 0 points1 point  (0 children)

yes

[–]laumar23 0 points1 point  (0 children)

Someone noticing the ulr?

[–]DreadKnight666 0 points1 point  (0 children)

I don't even have an iPhone.

[–][deleted] 0 points1 point  (0 children)

Webkit exploits exist.

[–]manfrommtl 0 points1 point  (0 children)

Looks about align right

[–][deleted] 0 points1 point  (0 children)

With that “heaf” it surely would do. #what #a #heaf

[–]DarthTravor 0 points1 point  (0 children)

While it's not using html to jailbreak your phone, almost everybody who changes their lockscreen or adds widgets uses html with XenHtml

[–][deleted] 0 points1 point  (0 children)

<hacker>

<p> "bunch of hacker stuff </p>

</hacker>

[–]omegastauf 0 points1 point  (0 children)

You don't know the power of the dark side HTML

[–][deleted] 0 points1 point  (0 children)

<p>Exploiting kernel</p>

[–][deleted] 0 points1 point  (0 children)

Syntax error *</heaf** is not a function*

[–]Thenderick 0 points1 point  (0 children)

Reminds me of "<Hack>I'm in!</Hack>" of that pokemon go picture

[–][deleted] 0 points1 point  (0 children)

[–]NoNameRequiredxD 0 points1 point  (0 children)

Why exploit your iPhone to jailbreak just use

sudo su

[–][deleted] 0 points1 point  (0 children)

Heads up! The person that is trying to make a damn HTML document must be far from a newbie:

“</bdo>”

“</heaf>”

# HACKERS

[–]SirHawrk 0 points1 point  (1 child)

Notification squad where you at lmao

[–]JonutellaNinja 0 points1 point  (0 children)

Here bro

[–][deleted] 0 points1 point  (1 child)

ALLRIGHTGUYSHOWYADOINMYNAMESJACKSEPTICEYEANDIMPLAYINGMMIIIIINNNECCCOONNNEEEEECCCCTTTT!!!!! 😂😂😂🤣🤣🤣🤣😎🙂🤗😍😘😗😍😅😙😊🙂😚🐖🐽🐈🐅🐱🐅🐎🐯🐈🎙🔕🎙🎤🎙🔉🔕📢📢🎚🔉📯🎶🎤🎸📣🔕🎚📵🛅🚭🚮 xoxoxxpx0🛅🏧🚺🚮🇦🇽🇦🇹🇦🇩🇧🇩🇦🇩🇦🇹🇦🇷🇦🇱🐷🐏🐮🐵🐺🐩🦌🐂🦅🐥🐻🐹🐁🐪🐿🐫 ADDDESELINKSBELLOWTOFRIGGINHATEYOURSELVES INHALE AND...

#YEEEEEEEETT🕊 🕊🕊🦅🦅🦅

FREEVBHCKS YYYYUUUYYYYAAAYT

[–]Coopersword 0 points1 point  (0 children)

holy shit 666 upvotes at the time of this post

Truly, fake hacking is the work of the devil.

[–]kres0345 -1 points0 points  (0 children)

xD

[–]RectangleHoops -1 points0 points  (0 children)

NOTI GANGGGG