Skip to content

Instantly share code, notes, and snippets.

@qwazwsx
Created July 4, 2025 16:48
Show Gist options
  • Save qwazwsx/e14efdcb66c92886abc05b31d4ab6c13 to your computer and use it in GitHub Desktop.
Save qwazwsx/e14efdcb66c92886abc05b31d4ab6c13 to your computer and use it in GitHub Desktop.
Splitwise Hack

Trick splitwise.com into thinking it's tomorrow, letting you expense as many items as you want.

CTRL + I

Go to console

Read and understand this code

Paste and hit enter

You're done

  const OriginalDate = Date;
  const offsetMs = 24 * 60 * 60 * 1000; // 1 day in milliseconds

  window.Date = class extends OriginalDate {
    constructor(...args) {
      if (args.length === 0) {
        return new OriginalDate(Date.now() + offsetMs);
      }
      return new OriginalDate(...args);
    }

    static now() {
      return OriginalDate.now() + offsetMs;
    }
  };

@qwazwsx
Copy link
Author

qwazwsx commented Jul 4, 2025

if you're going to make a paywall, make it take longer than 30 seconds to break. I don't even feel bad about this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment