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 6815787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:50:55+00:00 2026-05-26T20:50:55+00:00

I was trying to use a WebBrowser to scrape this website and tried to

  • 0

I was trying to use a WebBrowser to scrape this website and tried to programmatically change the amount of displayed pages to 200. If you manually change the value of the drop down menu, it will refresh the results to show whatever amount of results you select, but if you do it with injected JavaScript (since the WebBrowser allows injecting JavaScript code into your local copy of the page), the value will change but the page will not refresh.

I also tried firing the onchange event by using menu.onchange() and menu.fireEvent("onchange") (where menu is the select element), but nothing happened. Then I just went through every event (at least that’s what I think) in the select element by doing a for..in loop and displaying every item that starts with on... this way:

for(var i in menu)
{
    if(("" + i).indexOf("on") == 0) alert("" + i + " => " + menu[i])
}

And I noticed every single event was null. How is it possible for the page to know I’m changing the value if every event is null?

I did find a workaround and did it another way, and probably using a WebBrowser is not the best way to scrape this site. But I’m really curious about the above and not looking for a solution on how to scrape this site anymore.

  • 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-05-26T20:50:55+00:00Added an answer on May 26, 2026 at 8:50 pm

    The page uses jQuery to bind a change event handler to the element. The change event handler submits the parent form. The following can be found in main.js, lines 268-272:

    var pagingControls = $('.page_size select');
    if(pagingControls.length >= 1)
    {
        pagingControls.change( function(){ this.parentNode.submit();})
    }
    

    Binding an event handler this way will not cause a property to be changed on the element itself, which is why nothing showed up when you looked at the on... properties.

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

Sidebar

Related Questions

I'm trying to use a .Net WebBrowser control to log into a website and
I am need paint my image. I'm trying use JQuery in here this link:
I'm trying to use VS 2008 t publish a website to a virtual on
I'm trying to use System.Windows.Forms.HTMLDocument in a console application. First, is this even possible?
I'm using WebBrowser and when I'm trying to call .Navigate(some_local_html) then nothing is displayed
I am trying to use a webbrowser control in a winforms app. In my
am trying to convert this c# to vb.net that has a webbrowser control, but
Objective : programmatically upload documents to Sharepoint Issues : When trying to use :
I'm trying to use WebBrowser class, but of course it doesn't work. My code:
I tried to use the WebBrowser control in an ASP .NET application: public BrowserForm()

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.