diff --git a/androidnetspoof/src/main/java/uk/digitalsquid/netspoofer/spoofs/RedirectSpoof.java b/androidnetspoof/src/main/java/uk/digitalsquid/netspoofer/spoofs/RedirectSpoof.java
index 64b1dea..6b16630 100644
--- a/androidnetspoof/src/main/java/uk/digitalsquid/netspoofer/spoofs/RedirectSpoof.java
+++ b/androidnetspoof/src/main/java/uk/digitalsquid/netspoofer/spoofs/RedirectSpoof.java
@@ -109,15 +109,15 @@ public Dialog displayExtraDialog(final Context context, final OnExtraDialogDoneL
ok = (Button) dialog.findViewById(R.id.ok),
cancel = (Button) dialog.findViewById(R.id.cancel);
- String userEntry = input.getText().toString();
- if(userEntry.equals("")) userEntry = "http://blueballfixed.ytmnd.com/";
- prefs.edit().putString("redirectUrl", userEntry).commit();
-
- setRedirect(userEntry);
-
ok.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View view) {
+ String userEntry = input.getText().toString();
+ if(userEntry.equals("")) userEntry = "http://blueballfixed.ytmnd.com/";
+ prefs.edit().putString("redirectUrl", userEntry).commit();
+
+ setRedirect(userEntry);
+
dialog.dismiss();
onDone.onDone();
}
diff --git a/androidnetspoof/src/main/res/values/strings.xml b/androidnetspoof/src/main/res/values/strings.xml
index be1ab2d..344265c 100644
--- a/androidnetspoof/src/main/res/values/strings.xml
+++ b/androidnetspoof/src/main/res/values/strings.xml
@@ -121,7 +121,7 @@
Enter custom text values to change. Blank fields are ignored.
Configuring…
Finding website…
- Please enter a website to redirect to, not including http:// (eg. kittenwar.com).
+ Please enter a website to redirect to, eg. kittenwar.com.
Don\'t be evil!
Remember, only run Network Spoofer when you have permission to do so. Don\'t run at work, university, school etc. without the permission of your network administrators.
Use Local File