473,387 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

C#, Webforms, Javascript, and scraping

I have written a fairly simple application in C# that loops through the
forms, and all the children of all the forms, and have generated a tree
view with all the properties. All this works good and well. But now I
have a new problem. Some websites have javascript menus (which can be
embedded or seperate). I was wondering if there was a way to scrape
javascript menus (at least in a way that you can obtain the urls and/or
actions they execute).

Jun 22 '06 #1
1 1833
Essial,

That would be virtually impossible, in my opinion. The reason for this
is that the menus are implemented in a number of different ways, so you
don't know exactly what you are looking for.

For example, it could be dynamically positioned tables, dynamically
positioned div, span, etc, etc, elements.

There is no "standard".

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Essial" <es****@gmail.com> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com...
I have written a fairly simple application in C# that loops through the
forms, and all the children of all the forms, and have generated a tree
view with all the properties. All this works good and well. But now I
have a new problem. Some websites have javascript menus (which can be
embedded or seperate). I was wondering if there was a way to scrape
javascript menus (at least in a way that you can obtain the urls and/or
actions they execute).

Jun 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: John J. Lee | last post by:
I've put together a Python package for scraping / testing pages that depend on embedded JavaScript code (without depending on IE, Mozilla or Konqueror, and with the DOM etc. all implemented in pure...
4
by: David Jones | last post by:
Hi, I'm interested in learning about web scraping/site scraping using Python. Does anybody know of some online resources or have any modules that are available to help out. O'Reilly published an...
0
by: Billy Jacobs | last post by:
You will need to use client side script to display a message box: The following code demonstrates the results of the alert using a hidden input box, and javascript. Do the following. 1....
2
by: Tom Wild | last post by:
Hi Is there an equivalent of the message box that can be used for webforms? When I try to use a normal message box I get the following error: "It is invalid to show a modal dialog or form when...
4
by: 3Cooks | last post by:
I have a windows application written in Visual Basic 6.0 that is going to be redeveloped in dotNET. We are trying to decide if we should deploy using Webforms or Winforms and I need advice from...
5
by: brian.wilson4 | last post by:
Our group is currently comparing winforms vs webforms.....app is Corp LAN based - we have control of desktops.....Below is pros and cons list we have come up with - if anything strikes you as...
4
by: Jeremy Chapman | last post by:
I'b developing a web app to be viewed on various mobile devices, and I want the app to be as light as possible. I noticed that some of my pages have a link to the embedded resource webforms.js in...
4
by: Dean Slindee | last post by:
I would like to build a WinForm demo form to demonstrate the various controls, events, etc that WinForms can do that WebForms cannot. This is intended as an objective way to compare the various...
0
by: JM | last post by:
Hi, I have uploaded an application written in asp.net 2.0 on server. By web controls started giving Javascript error and I figured it out from discussion groups that I have to put WebForms.js...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.