Find Jobs
Hire Freelancers

Create .JS parser

$30-80 USD

Cancelled
Posted about 12 years ago

$30-80 USD

Paid on delivery
I have a web crawler but it has problems with .js, for example if you open this site: [[login to view URL]][1] and download the main page you will get: <script type="text/javascript" language="JavaScript"> function endsWith(str, suffix) { return [login to view URL](suffix, [login to view URL] - [login to view URL]) !== -1; } //alert(endsWith([login to view URL] ,'[login to view URL]' )); if(endsWith([login to view URL] ,'[login to view URL]' ) ){ // [login to view URL] window.location.href="http://"+document.domain+"/smartsource/[login to view URL]"; }else if(endsWith([login to view URL] ,'[login to view URL]' ) ){ //[login to view URL] window.location.href="http://"+document.domain+"/utilisource/[login to view URL]"; }else if(endsWith([login to view URL] ,'[login to view URL]' ) ){ //[login to view URL] window.location.href="http://"+document.domain+"/smartsource/[login to view URL]"; }else{ } </script> I need a C++ class that will receive the html file and will parse and execute the .js and will return the html after the .js has been executed. Few notes: 1. Don't use Microsoft parser. 2. Make sure that during the parsing no Windows will open (like if you use MS parser) You will probably need to use one of the existing .js parser, please let me know which one you plan to use, also project should not use MFC.
Project ID: 2729420

About the project

Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of ISRAEL
Israel
4.9
146
Payment method verified
Member since Apr 16, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.