Skip to content

Instantly share code, notes, and snippets.

View NATOuk's full-sized avatar

Nathan Boal NATOuk

  • Northern Ireland
View GitHub Profile
@NATOuk
NATOuk / #Battlefield4EmblemImportExport.md
Created February 27, 2014 19:30 — forked from cowboy/#bf4-emblem-import-export.md
Import or Export BF4 emblems using the browser console

Exporting an emblem

  1. Log into BF4 Battlelog.
  2. Visit the Customize emblem page.
  3. Select the emblem you wish to export.
  4. Open the console (Ctrl-Shift-J).
  5. Enter the following code snippet to copy the raw emblem data to the clipboard:
    copy('emblem.emblem.load('+JSON.stringify(emblem.emblem.data,null,2)+');');
  6. Paste somewhere useful, like a gist. Whatever.
  7. Close the console (Ctrl-Shift-J).
@NATOuk
NATOuk / 0_reuse_code.js
Created December 5, 2013 10:56
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console