Skip to content
Riot Bits

Riot Bits

  • Home
  • News
  • Guides
  • Video Guides
  • Patch Notes
  • Report Abuse
  • Toggle search form

Bitburner How To Get The Window Object Without Ram Cost

Posted on 11/11/2022 By overestimate No Comments on Bitburner How To Get The Window Object Without Ram Cost
  • Title: Bitburner
  • Release Date:
  • Developer:
  • Publisher:
Information about Bitburner is still incomplete. Please help us fill the details of the game using this contact form.

Here’s a way to get the window object in NS2 scripts for free.

The Goods

const funny_window = Function("return this")()

How it Works

Pretty simple, to be honest. When you create a new function using the constructor, it runs under the window context. By returning ‘this’, you end up getting a reference to the window. This bypasses RAM requirements as (I presume) the RAM check only works with the main window reference. You can do this with any method on any object, too. Here’s a more archaic version:

const funny_window = []["filter"]["constructor"]("return this")();
/* [] = empty array
["filter"] = instance of Array.filter
["constructor"] = get the constructor of the Function
("return this") = build a function to return the window
() = run the new function
*/

That's everything we are sharing today for this Bitburner guide. This guide was originally created and written by overestimate. In case we fail to update this guide, you can find the latest update by following this link.

If you believe that any of the content on this site violates your rights, including your intellectual property rights, please contact us immediately using our contact form.
Guides Tags:Bitburner

Post navigation

Previous Post: VALKYRIE ELYSIUM 100% Achievements and Endings Guide
Next Post: How to Fix Broken Reality Crashing, Crash at Launch, and Freezing Issues

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Title: Bitburner
  • Release Date:
  • Developer:
  • Publisher:
Information about Bitburner is still incomplete. Please help us fill the details of the game using this contact form.

Disclaimer

All content cited is derived from their respective sources. If you think we have used your content without permission, make sure to reach us and we will be taking it seriously.
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms of Service

Copyright © 2025 Riot Bits.

Powered by PressBook News WordPress theme