One Click install for Safari Extensions -
when user downloads plugin firefox (for example) plugin installation begins download has completed.
is possible achieve same thing in safari? i.e. user clicks link download plugin, once has downloaded automatically begins installation.
i don't think possible on other domain except extensions.apple.com
.
i've done extensive testing on , safari.installextension() method present if domain matches extensions.apple.com (probably controlled browser, similar how chrome apis shows inside of extensions themselves).
i tested theory going js file , opening js console: https://extensions.apple.com/home/scripts/extensioninstall.js
after js file has loaded, type typeof(safari.installextension)
in js console , should return "function"
. notice exists on non-html page, meaning it's being provided browser (since script doesn't execute, nor has code in provide method).
i tried doing on other sites , doesn't exist: "undefined"
.
i had crazy thought needs extensions subdomain, tested on http://extensions.joomla.org too, no dice. can't seem find extensions sub-domain that's ssl though. may work, doubt method appears regulated show when on apple's specific extensions sub-domain.
Comments
Post a Comment