您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replaces the Download Button on the Nokia Ovi Store to allow direct downloads from the backup version of the website.
// ==UserScript== // @name Direct download from Nokia Ovi Store (WaybackMachine Backup) // @namespace StephenP // @description Replaces the Download Button on the Nokia Ovi Store to allow direct downloads from the backup version of the website. // @include http://web.archive.org/web/*/http://store.ovi.com/content/* // @version 1 // @grant none // ==/UserScript== var dlButton = document.getElementById('sendViaSuiteBtn'); var price = document.getElementById('price_pricerange'); if (price.innerHTML.trim().localeCompare('Free') === 0) { var link = window.location.href.toString(); var qmpos = link.search('clickSource'); link = link.substring(0, qmpos - 1) + '/download'; dlButton.parentElement.innerHTML = '<button style="border-radius: 8px;" id="sendViaSuiteBtn" onClick="window.open(\'' + link + '\',\'_self\')">Download Now!</button>'; } else { dlButton.parentElement.innerHTML = '<button class="disabled" style="border-radius: 8px;" id="sendViaSuiteBtn">Download not available.</button>'; }