Skip to content

Instantly share code, notes, and snippets.

@qgustavor
Created March 11, 2016 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qgustavor/c5698a5b349686f8711c to your computer and use it in GitHub Desktop.
Save qgustavor/c5698a5b349686f8711c to your computer and use it in GitHub Desktop.
From MEGA.nz source code: what?!
if (page.indexOf('%25') !== -1) {
do {
page = page.replace(/%25/g, '%');
} while (page.indexOf('%25') !== -1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment