在检查页面的源代码时,我看到了JS代码,如下所示:
public void refresh()
{
ContentResolver contentResolver = getContentResolver();
Cursor smsInboxCursor = contentResolver.query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null,null, null, null);
int indexBody = smsInboxCursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME);
int indexAddress = smsInboxCursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER);
if (indexBody < 0 || !smsInboxCursor.moveToFirst()) return;
arrayAdapter.clear();
do {
String str = smsInboxCursor.getString(indexBody) +
"\n" + smsInboxCursor.getString(indexAddress) + "\n";
arrayAdapter.add(str);
} while (smsInboxCursor.moveToNext());
}
http://jsfiddle.net/3jxzpxgv/show/
你们有什么想法使用哪种工具?我不认为这是UglifyJS,Closure或YUI。
答案 0 :(得分:5)
它是JavaScript Obfuscator,您可以“加密”源代码,使人们更难理解。互联网上有很多这类工具。以下是其中之一:https://javascriptobfuscator.com/Javascript-Obfuscator.aspx