bitburner-official / bitburner-src

Bitburner source code.
Other
688 stars 232 forks source link

Exploit: Unclickable is actually unclickable #1410

Closed YarikTH closed 2 weeks ago

YarikTH commented 2 weeks ago

When I was bored and researched the DOM inside the game itself, I found the secret "Click on this to upgrade your Source-File -1!". But the trivial solution document.getElementById('unclickable').click() didn't work. It is a bug or I missed something. When it failed, I tried everything googlable to make the hidden element visible and actually clickable, but there is no luck.

It is correct element, because it subscribed to the onclick onclick: function Bi(){}. But it seems that "Bi" is an empty function now. Am I missed something?

Version: latest gitbub version v2.6.1 (e8a825829)

YarikTH commented 2 weeks ago

I've already checked. This achievement is very picky. It require not any click, but a very specific click event and also element properties should stay intact. Eww... It seems no achievement for me. I have no idea how to satisfy such conditions.

I guess I'll return when I'll become a fronted React.js guru (never)

d0sboots commented 2 weeks ago

The exploits encourage you to think outside the box... There are many ways to get this one, and some don't involve clicking at all. (although those might not be the canonical solution... Maybe.)