Google Play APK downloader

add APK download buttons to Google Play

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Google Play APK downloader
// @namespace    https://imciel.com/
// @version      0.2
// @description  add APK download buttons to Google Play
// @author       cielpy
// @match        https://play.google.com/store/apps/details?id=*
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    //获取 apk id
    const urlParams = new URLSearchParams(location.search);
    const id = urlParams.get('id')
    //利用 apps.evozi.com 下载
    var url='https://apps.evozi.com/apk-downloader/?id='+id;
    //创建超链接按钮
    const apkPureUrl = 'https://apkpure.com/no/' + id +'/download?from=details'
    var html='<a href="'+url+'" class="large play-button download-apk-button apps evozi" style="margin-left: 8px">Download From Evozi</a>';
    html += '<a href="'+apkPureUrl+'" class="large play-button download-apk-button apps apkmirror" style="margin-left: 8px">Download From APKPure</a>';
    var html = '<div >' + html +'</div>'
    $('wishlist-add').append(html);
    $('wishlist-added').append(html);
})();