Skip to content

Unsafe JavaScript attempt to access frame with URL #73

@digitalgoodsprovider

Description

@digitalgoodsprovider

https://github.com/sheebz/phantom-proxy#render-a-screenshot

Gives me error

Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///home/main/node_modules/phantom-proxy/lib/server/index.js. Domains, protocols and ports must match.

even with these options

{
            'ignoreSslErrors':true,
            'localToRemoteUrlAccessEnabled':true,
            'cookiesFile':'cookies.txt',
            'diskCache':'yes',
            'loadImages':'yes',
            'localToRemoteUrlAccess':true,
            'maxDiskCache':'50000',
            'outputEncoding':'utf8',
            'proxy':'0',
            'proxyType':'yes',
            'scriptEncoding':'yes',
            'webSecurity':false,
            'debug':true,
            'port':1061
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions