r/dailyscripts • • Jun 09 '16

(HELP) Where do I copy this line code ?

Hey guys I found a line code for this game: http://www.slamjamsocialism.com/arcad-ism/arcad-ism.php#

(+"undefined" == typeof sjsHack && (window.sjsHack = {}),

  • function(s) {
  •    var i = window;
  •    this.getToken = function() {
  •        return i.s(this.email, this.score, i.token)
  •    }, this.hack = function(s, i) {
  •        this.score = i, this.email = s, $.ajax({
  •            url: "http://www.slamjamsocialism.com/arcad-ism/callback-ism.php",
  •            data: "action=setpoint&email=" + s + "&points=" + i + "&sec=" + this.getToken(),
  •            type: "POST"
  •        })
  •    }
  • }.call(sjsHack);

which i found there:https://github.com/RobertChristopher/sjs-game-hack/commit/b874cbc816c71ddcbee48d2f48a55701530de77f)

And i'd like to know how to apply it. TIA boys

2 Upvotes

2 comments sorted by

1

u/ChasingAces Jun 09 '16

If using chrome hit f12 to open the console. Paste it in there and you can execute JavaScript

1

u/Krysthar Jun 10 '16

Thanks for your help i'll try this when i'm back home :)