Skip to content

Instantly share code, notes, and snippets.

@qgustavor
Created March 11, 2016 12:18
Show Gist options
  • Select an option

  • Save qgustavor/c5698a5b349686f8711c to your computer and use it in GitHub Desktop.

Select an option

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