-
Notifications
You must be signed in to change notification settings - Fork 0
/
advice.txt
29 lines (20 loc) · 908 Bytes
/
advice.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
window.open
window.open = cordova.InAppBrowser.open;
https://cordova.apache.org/docs/en/2.7.0/cordova/inappbrowser/inappbrowser.html
var ref = window.open('http://apache.org', '_blank', 'location=yes');
ref.addEventListener('loadstart', function() { alert(event.url); });
Massimo DiPierro 3:57 PM
window.open
window.open = cordova.InAppBrowser.open;
https://cordova.apache.org/docs/en/2.7.0/cordova/inappbrowser/inappbrowser.html
var ref = window.open('http://apache.org', '_blank', 'location=yes');
ref.addEventListener('loadstart', function() { alert(event.url); });
var open = cordova.inAppBrowser.open;
var w = open(.....);
w.executeScript({code: "1+1"},function(data){alert(data);});
insert_before
Idea: aggiungi un iframe con source:
src=https://mio.server.com?source=window.location
That serves buttons to vote, and can vote.
-----
https://github.com/EddyVerbruggen/cordova-plugin-googleplus