TRICK - How to IMPORT high size MEGA folder into Your Account!

Discussion in 'Lounge' started by 6spider, 18 Sep 2020.

  1. 6spider

    6spider Guest

    TRICK - How to IMPORT high size MEGA folder into Your Account!

    UnHidden Content:
    So guys I made a userscript that would allow you to Import any sized folder into your Mega free tier account if it has any amount of space left. This can be done inside your browser itself without any long ass android bypass etc..

    So what this basically means is that you can import any huge size ass Mega folder into your account and back that shit up without worrying about the link becoming dead (without paying for Mega Premium!!)

    So the steps to do this are :
    1) Get a free mega account from Mega.nz. (Skip this if you already have one with free space)
    2) Get The extension Tampermonkey from this link and install it in your chrome browser. (If you are a firefox browser use Greasemonkey , the steps remain same)
    Link : https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en
    3) After Installing it :Click on it's icon and tap the "Create A New Script" option.
    4) After that delete whatever is typed in there and paste the Script (https://greasyfork.org/en/scripts/397876-mega-nz-ultimately-import).
    5) Then click File -> Save and you are set.
    6)Login into your mega account.
    6)Then open any mega link and press import and it should work however big the folder is.
     
    Last edited by a moderator: 4 Sep 2021
    okk, elgato, arizaalnguyen and 73 others like this.
  2. b7b7

    b7b7 Silver I

    Joined:
    23 Jul 2020
    Messages:
    73
    Likes Received:
    146
    Trophy Points:
    13
    wouldn't it get banned or so?!
     
  3. wagaboo

    wagaboo Gold Nova

    No Limit
    Joined:
    12 Dec 2018
    Messages:
    423
    Likes Received:
    4,636
    Trophy Points:
    77
    Yeah I'm thinkin' one would get booted from them asap BUT cool though :)
     
  4. 6spider

    6spider Guest

    Tried many times myself. It works, however if you share your links then the exterior people has the potential to ban you for the link.
     
    b7b7 likes this.
  5. b7b7

    b7b7 Silver I

    Joined:
    23 Jul 2020
    Messages:
    73
    Likes Received:
    146
    Trophy Points:
    13
    great! I'm not gonna share I just wanted to use it for myself
     
  6. Jack Smith

    Jack Smith Moderator

    Staff Member Lifetime Gold Gold Member No Limit
    Joined:
    15 Feb 2018
    Messages:
    1,730
    Likes Received:
    11,683
    Trophy Points:
    680
    Just tried it with an 80GB folder and it works!
    Thanks for the tip! :cool:
     
  7. Ansioso

    Ansioso Gold

    Gold Member No Limit
    Joined:
    18 Aug 2020
    Messages:
    107
    Likes Received:
    1,610
    Trophy Points:
    3
    Where exactly does the link go?
     
  8. hostyourdata

    hostyourdata Silver III

    Joined:
    6 Aug 2020
    Messages:
    351
    Likes Received:
    514
    Trophy Points:
    7
    awesome!!
     
  9. Jack Smith

    Jack Smith Moderator

    Staff Member Lifetime Gold Gold Member No Limit
    Joined:
    15 Feb 2018
    Messages:
    1,730
    Likes Received:
    11,683
    Trophy Points:
    680
    Which link? If it's the MEGA link just paste it in your browser and click import to my account, that is how it worked for me.
     
  10. Ansioso

    Ansioso Gold

    Gold Member No Limit
    Joined:
    18 Aug 2020
    Messages:
    107
    Likes Received:
    1,610
    Trophy Points:
    3
    When creating the Scrip I need to paste a link in the new scrip, my question is in which part of the scrip I should paste.. o_O
     
  11. Jack Smith

    Jack Smith Moderator

    Staff Member Lifetime Gold Gold Member No Limit
    Joined:
    15 Feb 2018
    Messages:
    1,730
    Likes Received:
    11,683
    Trophy Points:
    680
    Copy/paste it in the New Script step
    This is the script:
    Code:
    // ==UserScript==
    // @name         MEGA.nz Ultimately Import
    // @name:zh-TW   MEGA.nz Ultimately Import / 繞過MEGA.nz網頁版導入大小限制
    // @name:zh-CN   MEGA.nz Ultimately Import / 绕过MEGA.nz网页版导入大小限制
    // @namespace    com.dogkiller87
    // @version      0.1
    // @description  Bypass import limit on Mega Web client & remove warning about the space usage
    // @description:zh-TW  去除導入超過容量大小的限制
    // @description:zh-CN  去除导入超过容量大小的限制
    // @author       d0gkiller87
    // @match        chrome-extension://bigefpfhnfcobdlfbedofhhaibnlghod/*
    // @match        http://mega.co.nz/*
    // @match        http://mega.io/*
    // @match        http://mega.is/*
    // @match        http://mega.nz/*
    // @match        https://mega.co.nz/*
    // @match        https://mega.io/*
    // @match        https://mega.is/*
    // @match        https://mega.nz/*
    // @icon         https://mega.nz/favicon.ico?v=3
    // @run-at       document-end
    // @grant        none
    // ==/UserScript==
    
    (function() {
       'use strict';
       // Reference [Augular loaded detect]: https://stackoverflow.com/a/31970556/9182265
       var initWatcher = setInterval(function () {
           if (window.MegaUtils) {
               clearInterval(initWatcher);
               hookImport();
               hookFull();
               console.info('FUNtions Hooked!');
           }
       }, 500);
    })();
    
    var hookImport = function () {
       MegaUtils.prototype.checkGoingOverStorageQuota = function(opSize) {
           var promise = new MegaPromise();
           loadingDialog.pshow();
    
           M.getStorageQuota()
               .always(function() {
               loadingDialog.phide();
           })
               .fail(promise.reject.bind(promise))
               .done(function(data) {
    
               /*
               if (opSize === -1) {
                   opSize = data.mstrg;
               }
    
               if (opSize > data.mstrg - data.cstrg) {
                   var options = {custom: 1, title: l[882], body: l[16927]};
    
                   M.showOverStorageQuota(data, options)
                       .always(function() {
                       promise.reject();
                   });
               }
               else {
               */
               promise.resolve();
           });
           return promise;
       };
    }
    
    var hookFull = function () {
       FileManager.prototype.showOverStorageQuota = null;
    }
    

    Here is the link: https://greasyfork.org/scripts/397876-mega-nz-ultimately-import/code/MEGAnz Ultimately Import.user.js
     
    cassini likes this.
  12. Ansioso

    Ansioso Gold

    Gold Member No Limit
    Joined:
    18 Aug 2020
    Messages:
    107
    Likes Received:
    1,610
    Trophy Points:
    3
    Thanks Man, I'll try
     
  13. indy420

    indy420 New Member

    Joined:
    19 Aug 2020
    Messages:
    17
    Likes Received:
    3
    Trophy Points:
    3
    DOES IT WORK FOR MEGASYNC ALSO
     
  14. Jack Smith

    Jack Smith Moderator

    Staff Member Lifetime Gold Gold Member No Limit
    Joined:
    15 Feb 2018
    Messages:
    1,730
    Likes Received:
    11,683
    Trophy Points:
    680
    Only MEGA web version, as per the description:

    Condition:

    • Your account is not full yet, but will be full after imported the target
    • Mega Chrome extension is not installed. This extension uses .js provided by the extension itself, which no one can modifies due to the Chrome security policy

    How it works:

    • MEGA web version uses JavaScript try to block users from importing file(s) larger than the spaces they left
    • This script hooks checking function in the JavaScript to bypass the size check
     
    indy420 and Ranjeetkumar like this.
  15. ariel

    ariel Silver IV

    No Limit
    Joined:
    2 Jun 2020
    Messages:
    372
    Likes Received:
    1,552
    Trophy Points:
    41
    Wow this works well :D
    Thank you!!
     
  16. alxndr

    alxndr Silver IV

    No Limit
    Joined:
    7 May 2020
    Messages:
    137
    Likes Received:
    1,064
    Trophy Points:
    3
    Does this work to import multiple large folders? Say I have a free account. Can I import one 800 GB and then one 250 GB folder?
     
  17. Ranjeetkumar

    Ranjeetkumar Gold

    No Limit
    Joined:
    9 Aug 2020
    Messages:
    414
    Likes Received:
    2,937
    Trophy Points:
    65
    Really appreciated man
     
  18. cassini

    cassini Master

    Trusted No Limit
    Joined:
    21 Oct 2018
    Messages:
    1,621
    Likes Received:
    7,030
    Trophy Points:
    335
  19. indy420

    indy420 New Member

    Joined:
    19 Aug 2020
    Messages:
    17
    Likes Received:
    3
    Trophy Points:
    3
    thanks a lot. i got the concept.
     
  20. Jack Smith

    Jack Smith Moderator

    Staff Member Lifetime Gold Gold Member No Limit
    Joined:
    15 Feb 2018
    Messages:
    1,730
    Likes Received:
    11,683
    Trophy Points:
    680
    Not directly, once the account is over the limit you can't add any more files.
    But it can be done indirectly with two more temp accounts:
    1) move 49GB from 250GB account to temp A, then add 800GB (The Big Chunk)
    2) move another 49GB from 250GB account to temp B, then add The Big Chunk from temp A
    3) delete contents from temp A, then move 49GB from 250GB account to temp A
    4) Add The Big Chunk
    5) repeat until done
     
Top