Console.log acts weird, probably not on the right track, just curious

Intro 10

perskes
8 years ago

0

Hey everyone, I just got stuck at this level and tried to debug and see if the value in the checkbox gets modified after I press submit.
To see the value at first, I did this:

```if ($(‘.level-form #pass’)[0].value == thecode){console.log(“correct”)}

tcerroc```

So, theres a lrt/rtl translation, but the mentioned file “main.js?1446747682:289” only says “reverse console.log blaaa”.
Can you confirm that this is not relevant to the challenge?
Looks a bit weird to me :P

3replies
4voices
196views

0

No just this level, try console.log anywhere on this website, it will give reversed string.

perskes
8 years ago

0

Yeah, thought so.. but now I’m confused, people in the forums mention “j3.php?pass”, but I don’t have the j3.php part in my source. I saw someone did the level just an hour ago, when I started… is the forum outdated on this?


0

Well I know why the console is acting weird
The console.log function is overrided
Like this
var console = {}; console.log = function(){alert("Hah, you are a fool!")};

2 replies have been removed
Discussion thread has been locked. You can no longer add new posts.
1 of 4

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss