-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathttttttttt.js
More file actions
34 lines (24 loc) · 848 Bytes
/
ttttttttt.js
File metadata and controls
34 lines (24 loc) · 848 Bytes
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
30
31
32
33
34
var script = document.createElement('script');
script.src = "https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js"
// document.getElementsByTagName('head')[0].appendChild(script)
(function() {
function wrap(fn) {
return function wrapper() {
var res = fn.apply(this, arguments);
window.ReactNativeWebView.postMessage(window.location.href);
return res;
}
}
history.pushState = wrap(history.pushState);
history.replaceState = wrap(history.replaceState);
window.addEventListener('popstate', function() {
// window.ReactNativeWebView.postMessage($.toString());
// window.ReactNativeWebView.postMessage(window.location.href);
// document.getElementById('movie_player').click();
});
})();
true;
function main() {
document.getElementById('movie_player').click();
}
window.onload = main;