Greasy Fork is available in English.

Direct download from Nokia Ovi Store (WaybackMachine Backup)

Replaces the Download Button on the Nokia Ovi Store to allow direct downloads from the backup version of the website.

  1. // ==UserScript==
  2. // @name Direct download from Nokia Ovi Store (WaybackMachine Backup)
  3. // @namespace StephenP
  4. // @description Replaces the Download Button on the Nokia Ovi Store to allow direct downloads from the backup version of the website.
  5. // @include http://web.archive.org/web/*/http://store.ovi.com/content/*
  6. // @version 1
  7. // @grant none
  8. // ==/UserScript==
  9. var dlButton = document.getElementById('sendViaSuiteBtn');
  10. var price = document.getElementById('price_pricerange');
  11. if (price.innerHTML.trim().localeCompare('Free') === 0) {
  12. var link = window.location.href.toString();
  13. var qmpos = link.search('clickSource');
  14. link = link.substring(0, qmpos - 1) + '/download';
  15. dlButton.parentElement.innerHTML = '<button style="border-radius: 8px;" id="sendViaSuiteBtn" onClick="window.open(\'' + link + '\',\'_self\')">Download Now!</button>';
  16. }
  17. else {
  18. dlButton.parentElement.innerHTML = '<button class="disabled" style="border-radius: 8px;" id="sendViaSuiteBtn">Download not available.</button>';
  19. }