IPRoyal Documentation
EN
EN
  • Overview
  • PROXIES
    • Residential
      • Dashboard
        • Statistics
        • Configuration
          • Automatic Top-Up
          • Proxy Access
          • Whitelisting IPs
          • IP Skipping
          • Allowances
        • Orders
        • Subscription
        • Sub-Users
      • Proxy
        • Location
        • Rotation
        • High-End Pool
        • Skipping Static ISP
        • IP Whitelisting
        • IP Skipping
        • Allowances
        • Protocols
        • Making Requests
      • Sub-Users
      • API
        • Sessions
        • User
        • Access
        • Sub-Users
        • Whitelists
        • IP Skipping
      • Domain Access Terms
    • ISP
      • Dashboard
        • Orders
        • Order Configuration
        • Extending an Order
      • Using Proxy Strings
      • API
        • User
        • Products
        • Orders
        • Proxies
    • Datacenter
      • Dashboard
        • Orders
        • Order Configuration
        • Extending an Order
      • Using Proxy Strings
      • API
        • User
        • Products
        • Orders
        • Proxies
    • Mobile
      • Dashboard
        • Orders
        • Order Configuration
        • Extending an Order
      • Using Proxy Strings
      • Troubleshooting
      • API
        • User
        • Proxies
  • Dashboard
    • User Management
  • Tools
    • Web Unblocker
      • Making A Request
      • Features
      • JavaScript Rendering
Powered by GitBook
On this page
Export as PDF
  1. Tools
  2. Web Unblocker

JavaScript Rendering

This tool is in Beta mode, if you want to test it contact your account manager.

By default, the Web Unblocker attempts to load websites using a simple HTTP request. It checks the HTTP response code, and if the response is successful (e.g., status code 200), the body is returned to the client.

However, some websites return a 200 OK status while still serving a placeholder or error message indicating that JavaScript is disabled. In such cases, no actual page content is rendered or visible.

To handle this, the web unblocker offers on-demand JavaScript rendering using a special render flag. This instructs the unblocker to fully render the page in a headless browser before returning the response, allowing access to JavaScript-dependent content.

How to Use the render Flag

You can enable rendering by appending _render-1 to the password in your proxy credentials. For example:

curl -x http://username:password_render-1@unblocker.iproyal.com:12323 https://example.com -k -v

Use Cases

  • Accessing sites that require JavaScript to display content

  • Bypassing anti-bot pages that rely on JavaScript

  • Scraping modern web apps with dynamic front-ends

Notes

  • Rendering may increase response times due to the overhead of launching a headless browser.

  • Use rendering only when needed, as most sites can still be accessed with basic HTTP requests.

PreviousFeatures

Last updated 2 days ago