-
Notifications
You must be signed in to change notification settings - Fork 1
/
new_apple_app_launch.html
109 lines (103 loc) · 6.14 KB
/
new_apple_app_launch.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html class="js no-touch svg no-oldie no-ie" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1" />
<script type="text/javascript">if (window.self === window.top) {
window.onload = function() {if (!String.prototype.includes) {
String.prototype.includes = function(search, start) {
'use strict';
if (typeof start !== 'number') {
start = 0;
}
if (start + search.length > this.length) {
return false;
} else {
return this.indexOf(search, start) !== -1;
}
};
}
var curUserAgent = navigator.userAgent;
curUserAgent = curUserAgent.toLocaleLowerCase();
var iosPattern = /os (\d+)_(\d+)(_(\d+))? like mac os x/g;
var ios9Version = getVersionNumber(9, 0, 0);
var iosDevice = isIOS();
var socialMediaBot = isSocialMediaBot();if (iosDevice && (curUserAgent.includes("fbav") || curUserAgent.includes("instagram"))) {
var openAppInFrame = function (location) {
var iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.style.display = "none";
iframe.contentDocument.write("\<script\>top.location.replace(\"" + location + "\");\<\/script\>");
};
openAppInFrame("applenews:///AiwmTBWVGSuer73Hpgv1LVA");redirectToUrlAfterTimeout("https://www.wsj.com/articles/rattled-by-cyberattacks-hospitals-push-device-makers-to-improve-security-11557662400", 0);
} else if (!socialMediaBot) {redirectToUrl("https://www.wsj.com/articles/rattled-by-cyberattacks-hospitals-push-device-makers-to-improve-security-11557662400");
}
function getVersionNumber(majorVersion, minorVersion, pointVersion) {
return (majorVersion * (1000 * 1000)) + (minorVersion * 1000) + pointVersion;
}
function isIOS() {
var isIos = false;
if (curUserAgent.includes("ipad") || curUserAgent.includes("ipod") || curUserAgent.includes("iphone")) {
var match = iosPattern.exec(curUserAgent);
var majorVersion = match[1] != null ? parseInt(match[1]) : 0;
var minorVersion = match[2] != null ? parseInt(match[2]) : 0;
var pointVersion = match[3] != null ? parseInt(match[3].substring(1)) : 0;
var result = getVersionNumber(majorVersion, minorVersion, pointVersion);
isIos = (result >= ios9Version);
}
return isIos;
}function isSocialMediaBot() {
return curUserAgent.includes("twitterbot") || curUserAgent.includes("facebookexternalhit") || curUserAgent.includes("facebot") || curUserAgent.includes("linkedinbot") || false;
}
function redirectToUrl(url) {
top.location.replace(url);
}
function redirectToUrlAfterTimeout(url, timeout) {
setTimeout(function() { redirectToUrl(url) }, timeout);
}
};
}
</script>
<title>Rattled by Cyberattacks, Hospitals Push Device Makers to Improve Security</title>
<meta name="Author" content="The Wall Street Journal" /><meta name="apple-itunes-app" content="app-id=1066498020, app-argument=https://apple.news/AiwmTBWVGSuer73Hpgv1LVA" /><meta property="og:type" content="article" />
<meta property="og:title" content="Rattled by Cyberattacks, Hospitals Push Device Makers to Improve Security — The Wall Street Journal" />
<meta property="og:description" content="U.S. hospitals are pressing medical-device makers to improve cyber defenses of their internet-connected infusion pumps, biopsy imaging tables and other health-care products as reports of attacks rise." />
<meta property="og:image" content="https://c.apple.news/AgEXQWg0Ym5Odk5iVFl1LXZEMWVRMWhBVkEAMA" /><meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Rattled by Cyberattacks, Hospitals Push Device Makers to Improve Security" />
<meta name="twitter:description" content="U.S. hospitals are pressing medical-device makers to improve cyber defenses of their internet-connected infusion pumps, biopsy imaging tables and other health-care products as reports of attacks rise." />
<meta name="twitter:image" content="https://c.apple.news/AgEXQWg0Ym5Odk5iVFl1LXZEMWVRMWhBVkEAMA" /><link rel="shortcut icon" href="/images/favicon.ico" />
<link rel="apple-touch-icon" href="/images/apple-touch-icon.png" />
<link rel="stylesheet" href="https://www.apple.com/wss/fonts?families=SF+Pro,v1|SF+Pro+Icons,v1" type="text/css">
<link rel="stylesheet" href="/css/index.css" type="text/css" />
</head>
<body>
<div id="main">
<div class="content">
<div class="inner-content has-icon">
<img class="app-icon" src="/images/Appicon_v5.png" alt="Apple News"
srcset="/images/Appicon_v5.png 1x, /images/Appicon_v5@2x.png 2x,
/images/Appicon_v5@3x.png 3x"/>
<h1>Opening story…</h1>
<p><a href="https://www.wsj.com/articles/rattled-by-cyberattacks-hospitals-push-device-makers-to-improve-security-11557662400">Click here</a> if the story doesn’t open after a few seconds.</p>
<p><a class="more" href="https://www.apple.com/news/">Learn more about Apple News</a></p></div>
</div>
<div class="footer">
<ul class="menu policies">
<li class="item first">
<span class="icon icon-before icon-apple"></span>
</li>
<li class="item">
<a href="https://www.apple.com/privacy/">Privacy Policy</a>
</li>
<li class="item last">
<a href="https://www.apple.com/legal/internet-services/terms/site.html">Terms and Conditions</a>
</li>
</ul>
<div class="copyright">
Copyright © 2019 Apple Inc. All Rights Reserved.
</div>
</div>
</div>
</body>
</html>