Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Calculator

0

78
Views
Pull and parse all GET URLs starting with 'ads?' along with query parameters from a page on load. JS

Example: https://www.si.com/nfl

Goto the network panel and filter by 'ads?' as the page loads. You will see a list of URLs starting with 'ads?'.

I would like to be able to pull and parse the URLs and query parameters for all URLs starting with 'ads?'. I am able to get most but not all urls parsed. Currently using this method which only allows for some urls to be pulled and parsed. Video Request URL's and params are not coming through. Basic console output is fine for now, as long as I can access the data to be used.

XMLHttpRequest.prototype.send = function() {
           this.addEventListener('readystatechange', function() {
               if (this.responseURL.includes(urlmatch) && this.readyState === 4) {  

Any help would be greatly appreciated. Thanks!

7 months ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Plans Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.