3
votes
1answer
88 views

What is the best way to generate JavaScript test objects for website automation

Bit of background: The team is writing QUnit UI tests AND browser automation tests using C#. I would like to create a JSON object that can be shared between the two. That way if a class name gets ...
2
votes
1answer
273 views

Parsing XHTML string with Regex in Javascript and converting it to DOM

Disclaimer: before the you-can't-parse-html-with-regex blind mantra begins - please give me the benefit of the doubt and read this question to the end (+ assume I already know about That RegEx-ing the ...
2
votes
1answer
96 views

Could Firefox be automatically pre-loading html elements?

I have a JavaScript variable that holds an image tag surrounded by an anchor tag. Pretty normal stuff. myvar="<a href='foo'><img src='bar'></a>"; What happens in Firefox, is that ...
2
votes
1answer
234 views

Gmail: What is a jQuery selector for incoming mail senders only? How to work with highly compressed and nested CSS in general?

As the title says, how do you work with parsing highly compressed and nested structures such as a Gmail page? I'm writing a script for internal use (customer service) to extract incoming email ...
0
votes
1answer
23 views

Change IP in Packet request Rails

I am creating a web application that parses through different websites, for example if you search for "stackoverflow" on the app we will search multiple websites, google, yahoo, bing, stackoverflow ...
3
votes
0answers
96 views

Parsing badly written HTML in Appcelerator Titanium

I'm trying to get some values out of a small piece of HTML in Titanium. I tried to use this library: https://gist.github.com/bob-sims/4406293 as answered in another question (HTML Parser for Titanium ...
1
vote
0answers
50 views

Parse HTML from javascript-rich website in Objective-C

How can I parse HTML data from a website that uses JavaScript for some of its information. (Some JavaScript code constructs HTML code which I want to use.) I couldn't find a way to get the HTML data ...
1
vote
0answers
48 views

making a jquery plugin for prettifying html or minifying html

I wanted to make a jquery plugin for prettifying the html code taking the indent spaces as an option. I wanted to know how to proceed for this. Should I extract each dom element recursively & ...
1
vote
0answers
189 views

Weird error when using 'node-htmlparser' module

I'm reading a behemoth of an XML file, line by line. Using htmlparser (v1.7.3), I'm trying to get the values of the attributes that will eventually be written to database. Here's the code: var fs = ...
0
votes
0answers
46 views

How to parse JS and HTML using PHP

Till now from the Google, i got some html parser for parsing HTML page. but i am unable to choose one from them. Below is my objective- Parse the values dynamically from html page, which conatins ...
0
votes
0answers
18 views

I was using swfscan to decompile and analyze the code.It give me one location where i can get an xss

The application figure out xss or cross site request forgery at bold letter code, But Still i couldn't get how to implement a POC on it. Please help me out. I am newbie in flashing. var ...
0
votes
0answers
47 views

Trouble parsing google trends

I'm trying to get the search terms and corresponding values of the rising table on google trends here: http://www.google.com/trends/explore#cat=0-14&date=today%207-d&cmpt=q I'm trying to ...
0
votes
0answers
44 views

Multiple block selection using document.getSelection or vertical selection (select only one column in a table with multiple columns)

I want to select multiple blocks of text vertically something like in spreadsheet in html page or select multiple block of text by holding ctrl button(it works only in firefox.) I am using ...
0
votes
0answers
136 views

How to access data from Chrome javascript console's “Network” tab from target.html using javascript in another.html

I have to parse some data which arrives to the somedomain.com/target.html by POST XMLHttpRequest . I need use my localhost/another.html with <script> inside it and some javascript commands which ...
0
votes
0answers
76 views

jQuery and dynamically loaded, badly formed HTML

I am making a WebApp that dynamically loads news feeds (think a Pulse News WebApp) but I am having a problem that if an article has badly formed HTML (generally misplaced or missing end tags) it ...

1 2 3
15 30 50 per page