cordova-plugin-whitelist icon indicating copy to clipboard operation
cordova-plugin-whitelist copied to clipboard

Blacklist origin: give access to all origins except a blacklist

Open Aljabri-Salman opened this issue 5 years ago • 2 comments

Is it possible to give access to all origins except some. How to achieve that?

Aljabri-Salman avatar Jul 24 '19 06:07 Aljabri-Salman

I have the same problem : i have a cordova WebView app (using Phonegap InAppBrowser) which is used to connect to different WebSite depending on users parameters.

In those webSite, allow-notification should be always active to view pages in the InAppBrowser, and not on default android browser. But on those webSite, i must prevent user for going out of app (with embedded Youtube Iframe redirection, link to social media,...).

Today i'm forced to put all webSite in allow-navigation but it's hard to maintain when new webSite must be added.

It would be awesome to jsut put "<disallow-navigation="https://youtube.com/*>".

Rlamotte avatar Jul 26 '19 09:07 Rlamotte

I have same issue too!

Yu0614 avatar Sep 12 '19 09:09 Yu0614

We are archiving this repository following Apache Cordova's Deprecation Policy. We will not continue to work on this repository. Therefore all issues and pull requests are being closed. Thanks for your contribution.

jcesarmobile avatar Jan 08 '23 23:01 jcesarmobile