AdobeFlashPlayer: Query NPAPI version
This commit is contained in:
parent
534c4142d6
commit
86eb5b78da
1 changed files with 2 additions and 3 deletions
|
|
@ -5,10 +5,9 @@ class AdobeFlashPlayer extends PatchBase {
|
|||
parent::__construct('Adobe', 'Flash Player', 'https://get.adobe.com/flashplayer/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://get.adobe.com/flashplayer/webservices/json/?platform_type=Windows&platform_dist=XP&platform_arch=x86-32&platform_misc=&exclude_version=10&browser_arch=&browser_type=&browser_vers=&browser_dist=&eventname=flashplayerotherversions', true)) {
|
||||
$this->array_extract('flashplayerax');
|
||||
// https://get.adobe.com/flashplayer/webservices/json/?platform_type=Windows&platform_dist=XP&platform_arch=x86-32&platform_misc=&exclude_version=10&browser_arch=&browser_type=&browser_vers=&browser_dist=&eventname=flashplayerotherversions
|
||||
if ($this->fetch('https://get.adobe.com/flashplayer/webservices/json/', true))
|
||||
return $this->parse_json('Version');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue