Googleusercontent_max_size

Modifies the URL parameter to add "=s9999" after the equals sign (=), that do the max size and quality to image to download.

  1. // ==UserScript==
  2. // @name Googleusercontent_max_size
  3. // @namespace https://play-lh.googleusercontent.com
  4. // @version 1.0.1
  5. // @description Modifies the URL parameter to add "=s9999" after the equals sign (=), that do the max size and quality to image to download.
  6. // @icon https://www.google.com/s2/favicons?sz=64&domain=play-lh.googleusercontent.com
  7. // @author Wizzergod
  8. // @license MIT
  9. // @match https://play-lh.googleusercontent.com/*
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. var url = window.location.href;
  17. var modifiedURL = url.replace(/=(.*)/g, '=s9999');
  18.  
  19. if (modifiedURL !== url) {
  20. window.location.href = modifiedURL;
  21. }
  22. })();