Javascript Browser Console.Log Append to Global Variable (google chrome) -


im using chrome javascript console commands extract data webpages. however, append each console.log command result make single variable retrieve variable when im finish multiple pages. here ideal scenario explain easier.

scenario:

  1. open console.
  2. visit page 1.
  3. console.log(1) ~ store variable result
  4. visit page 2.
  5. console.log(2) ~ append variable result
  6. repeat process..
  7. get value of variable result.

i think possible not know start looking.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -