@@ -32,7 +32,7 @@ You can show helpful articles, videos, and web resources inside of your app. Use
32
32
33
33
This plugin provides a web browser view that displays when calling ` cordova.InAppBrowser.open() ` .
34
34
35
- var ref = cordova.InAppBrowser.open('http ://apache.org', '_blank', 'location=yes');
35
+ var ref = cordova.InAppBrowser.open('https ://apache.org', '_blank', 'location=yes');
36
36
37
37
### ` window.open `
38
38
@@ -166,7 +166,7 @@ instance, or the system browser.
166
166
167
167
### Example
168
168
169
- var ref = cordova.InAppBrowser.open('http ://apache.org', '_blank', 'location=yes');
169
+ var ref = cordova.InAppBrowser.open('https ://apache.org', '_blank', 'location=yes');
170
170
var ref2 = cordova.InAppBrowser.open(encodeURI('http://ja.m.wikipedia.org/wiki/ハングル'), '_blank', 'location=yes');
171
171
172
172
### OSX Quirks
@@ -353,7 +353,7 @@ function messageCallBack(params){
353
353
354
354
### Quick Example
355
355
356
- var ref = cordova.InAppBrowser.open('http ://apache.org', '_blank', 'location=yes');
356
+ var ref = cordova.InAppBrowser.open('https ://apache.org', '_blank', 'location=yes');
357
357
ref.addEventListener('loadstart', function(event) { alert(event.url); });
358
358
359
359
## InAppBrowser.removeEventListener
@@ -384,7 +384,7 @@ The function is passed an `InAppBrowserEvent` object.
384
384
385
385
### Quick Example
386
386
387
- var ref = cordova.InAppBrowser.open('http ://apache.org', '_blank', 'location=yes');
387
+ var ref = cordova.InAppBrowser.open('https ://apache.org', '_blank', 'location=yes');
388
388
var myCallback = function(event) { alert(event.url); }
389
389
ref.addEventListener('loadstart', myCallback);
390
390
ref.removeEventListener('loadstart', myCallback);
@@ -406,7 +406,7 @@ The function is passed an `InAppBrowserEvent` object.
406
406
407
407
### Quick Example
408
408
409
- var ref = cordova.InAppBrowser.open('http ://apache.org', '_blank', 'location=yes');
409
+ var ref = cordova.InAppBrowser.open('https ://apache.org', '_blank', 'location=yes');
410
410
ref.close();
411
411
412
412
## InAppBrowser.show
@@ -426,7 +426,7 @@ The function is passed an `InAppBrowserEvent` object.
426
426
427
427
### Quick Example
428
428
429
- var ref = cordova.InAppBrowser.open('http ://apache.org', '_blank', 'hidden=yes');
429
+ var ref = cordova.InAppBrowser.open('https ://apache.org', '_blank', 'hidden=yes');
430
430
// some time later...
431
431
ref.show();
432
432
@@ -446,7 +446,7 @@ The function is passed an `InAppBrowserEvent` object.
446
446
447
447
### Quick Example
448
448
449
- var ref = cordova.InAppBrowser.open('http ://apache.org', '_blank');
449
+ var ref = cordova.InAppBrowser.open('https ://apache.org', '_blank');
450
450
// some time later...
451
451
ref.hide();
452
452
@@ -478,7 +478,7 @@ The function is passed an `InAppBrowserEvent` object.
478
478
479
479
### Quick Example
480
480
481
- var ref = cordova.InAppBrowser.open('http ://apache.org', '_blank', 'location=yes');
481
+ var ref = cordova.InAppBrowser.open('https ://apache.org', '_blank', 'location=yes');
482
482
ref.addEventListener('loadstop', function() {
483
483
ref.executeScript({file: "myscript.js"});
484
484
});
@@ -513,7 +513,7 @@ Due to [MSDN docs](https://msdn.microsoft.com/en-us/library/windows.ui.xaml.cont
513
513
514
514
### Quick Example
515
515
516
- var ref = cordova.InAppBrowser.open('http ://apache.org', '_blank', 'location=yes');
516
+ var ref = cordova.InAppBrowser.open('https ://apache.org', '_blank', 'location=yes');
517
517
ref.addEventListener('loadstop', function() {
518
518
ref.insertCSS({file: "mystyles.css"});
519
519
});
@@ -695,13 +695,13 @@ iab.open('local-url.html', 'random_string', 'location=no'); // loads in the InAp
695
695
```
696
696
var iab = cordova.InAppBrowser;
697
697
698
- iab.open('http ://whitelisted-url.com'); // loads in the Cordova WebView
699
- iab.open('http ://whitelisted-url.com', '_self'); // loads in the Cordova WebView
700
- iab.open('http ://whitelisted-url.com', '_system'); // loads in the system browser
701
- iab.open('http ://whitelisted-url.com', '_blank'); // loads in the InAppBrowser
702
- iab.open('http ://whitelisted-url.com', 'random_string'); // loads in the InAppBrowser
698
+ iab.open('https ://whitelisted-url.com'); // loads in the Cordova WebView
699
+ iab.open('https ://whitelisted-url.com', '_self'); // loads in the Cordova WebView
700
+ iab.open('https ://whitelisted-url.com', '_system'); // loads in the system browser
701
+ iab.open('https ://whitelisted-url.com', '_blank'); // loads in the InAppBrowser
702
+ iab.open('https ://whitelisted-url.com', 'random_string'); // loads in the InAppBrowser
703
703
704
- iab.open('http ://whitelisted-url.com', 'random_string', 'location=no'); // loads in the InAppBrowser, no location bar
704
+ iab.open('https ://whitelisted-url.com', 'random_string', 'location=no'); // loads in the InAppBrowser, no location bar
705
705
706
706
```
707
707
@@ -710,11 +710,11 @@ iab.open('http://whitelisted-url.com', 'random_string', 'location=no'); // loads
710
710
```
711
711
var iab = cordova.InAppBrowser;
712
712
713
- iab.open('http ://url-that-fails-whitelist.com'); // loads in the InAppBrowser
714
- iab.open('http ://url-that-fails-whitelist.com', '_self'); // loads in the InAppBrowser
715
- iab.open('http ://url-that-fails-whitelist.com', '_system'); // loads in the system browser
716
- iab.open('http ://url-that-fails-whitelist.com', '_blank'); // loads in the InAppBrowser
717
- iab.open('http ://url-that-fails-whitelist.com', 'random_string'); // loads in the InAppBrowser
718
- iab.open('http ://url-that-fails-whitelist.com', 'random_string', 'location=no'); // loads in the InAppBrowser, no location bar
713
+ iab.open('https ://url-that-fails-whitelist.com'); // loads in the InAppBrowser
714
+ iab.open('https ://url-that-fails-whitelist.com', '_self'); // loads in the InAppBrowser
715
+ iab.open('https ://url-that-fails-whitelist.com', '_system'); // loads in the system browser
716
+ iab.open('https ://url-that-fails-whitelist.com', '_blank'); // loads in the InAppBrowser
717
+ iab.open('https ://url-that-fails-whitelist.com', 'random_string'); // loads in the InAppBrowser
718
+ iab.open('https ://url-that-fails-whitelist.com', 'random_string', 'location=no'); // loads in the InAppBrowser, no location bar
719
719
720
720
```
0 commit comments