Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8127785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:39:13+00:00 2026-06-06T07:39:13+00:00

In the website I’m accessing, there is a javascript array (var arrayname) that has

  • 0

In the website I’m accessing, there is a javascript array (var arrayname) that has 500 elements, but the website only gives me an option to display ten at a time.

I’ve tried using the Chrome console: I can type “arrayname” and it will display a tree of the entire array, but not in a way that I can extract the information I need efficiently.

How can I download the array so that I can extract the data in each element myself using a parser? My goal is simply to put the contents of the array into a text file that I can then put into Excel.

–edit–

The array is actually an array of 5-element arrays. The console output also divides the 500-element array into smaller ranges of arrays that you have to click to step into. I would display the screenshot, but I don’t have enough reputation yet! Here’s the text of the output, not formatted.

> arrayname
Array[500]
[0 … 24]
[0 … 4]
0: Array[5]
0: "data1" //sample output - this is the element i actually want to extract
1: "data2" //sample output
2: "data3" //sample output
3: "data4" //sample output
4: "data5" //sample output
length: 5
__proto__: Array[0]
1: Array[5]
2: Array[5]
3: Array[5]
4: Array[5]
[5 … 9]
[10 … 14]
[15 … 19]
[20 … 24]
[25 … 49]
[50 … 74]
[75 … 99]
[100 … 124]
[125 … 149]
[150 … 174]
[175 … 199]
[200 … 224]
[225 … 249]
[250 … 274]
[275 … 299]
[300 … 324]
[325 … 349]
[350 … 374]
[375 … 399]
[400 … 424]
[425 … 449]
[450 … 474]
[475 … 499]
length: 500
__proto__: Array[0]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T07:39:14+00:00Added an answer on June 6, 2026 at 7:39 am

    In the chrome console you can use the builtin copy command:

    copy(arrayname.join('\n'))
    

    And you’ll have the array copied to your clipboard, 1 element per line.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My website has a sponsorship system that allows users to invite friends by email
My website has a search procedure that runs very slowly. One thing that slows
My website has somewhat graceful degradation in the sense that if JS is disabled,
Website: http://www.animefushigi.com Make your browser window skinny, note that there is no horizontal scroll
My website has tons of large images that reduces my site speed. I want
The website says it is for .NET 4.0 but that I could compile it
My website has a navigation bar that when clicked targets an iframe. i would
My website is 900px witdth. Is there anything I can do that through facebook
The website I code on has a function applied that prevents all non-printable characters.
The website I'm create has Events. Events have a title, date, and the userids

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.