responsively-org / responsively-app

A modified web browser that helps in responsive web development. A web developer's must have dev-tool.
https://responsively.app
GNU Affero General Public License v3.0
22.77k stars 1.2k forks source link

Disable same origin policy #566

Open MANDA-LAWINE opened 3 years ago

MANDA-LAWINE commented 3 years ago

Is there a way to disable same origin policy ? In chrome we can do that, see disable-same-origin-policy-in-chrome

open-collective-bot[bot] commented 3 years ago

Hey @MANDA-LAWINE :wave:,

Thank you for opening an issue. We will get back to you as soon as we can. Have you seen our Open Collective page? Please consider contributing financially to our project. This will help us involve more contributors and get to issues like yours faster.

https://opencollective.com/responsively

We offer priority support for all financial contributors. Don't forget to add priority label once you become one! :smile:

jjavierdguezas commented 3 years ago

Based on what you linked, I think it could be done by toggling <webview>'s disablewebsecurity attribute

mahendra1290 commented 3 years ago

Hi @jjavierdguezas i am new to open source and worked on ReactJs and Angular can I try to solve this issue.

jjavierdguezas commented 3 years ago

Hi @jjavierdguezas i am new to open source and worked on ReactJs and Angular can I try to solve this issue.

of course you can! thanks!

dmzinc commented 3 years ago

Hi @jjavierdguezas I am new to open source contribution and I would love to know how I can contribute

mahendra1290 commented 3 years ago

@jjavierdguezas Did it need to be a command line argument ?

jjavierdguezas commented 3 years ago

Hi @jjavierdguezas I am new to open source contribution and I would love to know how I can contribute

Hi, and thanks for your interesest, you can start here: good first issues

jjavierdguezas commented 3 years ago

@jjavierdguezas Did it need to be a command line argument ?

I don't think so, it should be a checkbox in the UI that toggles the webview attribute cc: @manojVivek

mahendra1290 commented 3 years ago

@jjavierdguezas Did it need to be a command line argument ?

I don't think so, it should be a checkbox in the UI that toggles the webview attribute cc: @manojVivek

Ok i understood can u guide me on it where I should add the toggle option.

jjavierdguezas commented 3 years ago

@jjavierdguezas Did it need to be a command line argument ?

I don't think so, it should be a checkbox in the UI that toggles the webview attribute cc: @manojVivek

Ok i understood can u guide me on it where I should add the toggle option.

image

mahendra1290 commented 3 years ago

ya i have done that

mahendra1290 commented 3 years ago

Based on what you linked, I think it could be done by toggling <webview>'s disablewebsecurity attribute

I tried this but it is not working. <webview ref={this.webviewRef} preload="./preload.js" className={cx(styles.device)} src={address || 'about:blank'} useragent={useragent} style={deviceStyles} disablewebsecurity={true} />

shanemcfadden commented 3 years ago

Hi there! Is this issue up for grabs? I'm looking for a way to start contributing.

jjavierdguezas commented 3 years ago

Hi there! Is this issue up for grabs? I'm looking for a way to start contributing.

I think @mahendra1290 is on it