The first line is a test to check for proper formatting of the link. The wget present on Android phones is a stripped down Busybox version which requires the http before the address and simply won't work for "google.com". The script checks for the http and adds it if it's not present, so if you type "dump google.com", it should still work.
Unfortunately, it doesn't work well at all on pages containing css.
echo $1 | grep -q http || pre="http://"
Copy "dump" to your clipboard with this QR code: