responsively-app icon indicating copy to clipboard operation
responsively-app copied to clipboard

Disable same origin policy

Open MANDA-LAWINE opened this issue 3 years ago • 14 comments

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

MANDA-LAWINE avatar Mar 24 '21 13:03 MANDA-LAWINE

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:

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

jjavierdguezas avatar Mar 24 '21 14:03 jjavierdguezas

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

mahendra1290 avatar Apr 06 '21 17:04 mahendra1290

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!

jjavierdguezas avatar Apr 07 '21 10:04 jjavierdguezas

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

dmzinc avatar Apr 08 '21 21:04 dmzinc

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

mahendra1290 avatar Apr 09 '21 04:04 mahendra1290

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 avatar Apr 13 '21 09:04 jjavierdguezas

@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

jjavierdguezas avatar Apr 13 '21 09:04 jjavierdguezas

@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.

mahendra1290 avatar Apr 13 '21 14:04 mahendra1290

@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

jjavierdguezas avatar Apr 13 '21 17:04 jjavierdguezas

ya i have done that

mahendra1290 avatar Apr 13 '21 17:04 mahendra1290

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} />

mahendra1290 avatar Apr 13 '21 20:04 mahendra1290

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

shanemcfadden avatar Jul 26 '21 19:07 shanemcfadden

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

I think @mahendra1290 is on it

jjavierdguezas avatar Sep 01 '21 11:09 jjavierdguezas