View swype.cpp
/* | |
The MIT License (MIT) | |
Copyright (c) 2013 Krishna Bharadwaj <krishna@krishnabharadwaj.info> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
View mega.js
// This is Chrome Mega extension script that hacked!!! | |
// Version is 3.39.4_0. | |
// You can check it from your comptuer too. | |
// %AppData%\Local\Google\Chrome\User Data\Default\Extensions\bigefpfhnfcobdlfbedofhhaibnlghod\3.39.4_0 | |
// Original mega.js is here. https://github.com/meganz/chrome-extension/blob/master/mega.js | |
function getParameterByName(name, data) { | |
name = name.replace(/[\[\]]/g, '\\$&'); | |
var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'), results = regex.exec(data); | |
if (!results) return ''; |