Hank The Developer

Hank's personal site. Browser Extension, JavaScript, HTML5 and so on

Some time you will get many BattlePacks that you forgot to open them, Well when you want to open them, you are gonna click “open” and “close” again and again?

Just drag and drop this bookmarklet to your bookmarks bar, and go to BattlePacks page, then click it

OpenAllBP

Here is how to open these BattlePacks with 1 line code in the Browser console.

  1. Go to BattlePacks page
  2. Open console(Ctrl-Shift-J for Chrome, Ctrl-Shift-K for Firefox, Ctrl-Shift-I for Opera, F12 for IE )
  3. Copy and paste this line to your console and then press Enter:
    $("button:contains('Open')").click()
  4. Your BattlePacks should all Open
  5. Copy and paste this line to your console and then press Enter:
    $("button:contains('Close')").click()
  6. all the open BattlePacks dialog should closed:)
  7. Then refresh the page to check the content of all of the packs

That’s All.

November 28th, 2014

Posted In: Uncategorized

Leave a Comment