Close

Give yourself a Skull

A project log for Hack the Hack A Day Editor

A hack based on "HTML Injection". Useful when you want an online editing feature that is not available otherwise. Might work on any Website.

RoGeorgeRoGeorge 07/10/2015 at 16:129 Comments

Your project is beautiful,
You should give yourself a skull!

See, a poem!
:o)

How you can do it (the skull, not the poem)

JavaScript:$.ajax({url : "/project/6621/event/skull", method : "POST", timeout : 15e3, data : { _csrf : csrftoken }})


Note:
Some browsers use to mangle the word "JavaScript:" from the Address Bar. If you use copy/paste, before pressing Enter, check that the first word in the Address Bar is indeed "JavaScript:". If not, add it manually, so the text in the Address Bar will be the same as in the example. You may want to change the project ID with your own project number.

Discussions

Yann Guidon / YGDES wrote 03/21/2017 at 19:40 point

It doesn't seem to work anymore.

  Are you sure? yes | no

esot.eric wrote 06/18/2016 at 17:41 point

Hah! Had no idea you could run javascript from the address-bar... How's about I test out that method guilt-free by giving this project a skull instead ;)

  Are you sure? yes | no

Arsenijs wrote 06/17/2016 at 14:27 point

There's also "follow" and  "unfollow", of course

  Are you sure? yes | no

Matt wrote 07/15/2015 at 11:57 point

I found if you want to undo it, just change the word skull to unskull. So:

JavaScript:$.ajax({url : "/project/6621/event/unskull", method : "POST", timeout : 15e3, data : { _csrf : csrftoken }})

Changing the project ID to your own again of course :)

Thanks for these neat little tricks! I love them.

  Are you sure? yes | no

RoGeorge wrote 07/15/2015 at 12:14 point

Indeed, but why would someone want to undo that?

:o)

  Are you sure? yes | no

Matt wrote 07/15/2015 at 12:24 point

guilt :)

eh, just the more you know!

  Are you sure? yes | no

RoGeorge wrote 07/15/2015 at 12:29 point

OK, then!
To alleviate the guilt, next log entry will be about how to follow yourself.

:o)

  Are you sure? yes | no

Matt wrote 07/15/2015 at 12:31 point

Haha, perfect!

  Are you sure? yes | no

Matt wrote 07/15/2015 at 11:53 point

Haha, nice one. I feel bad about doing that though!

  Are you sure? yes | no