Separate names with a comma.
Discussion in 'Computer Games and General Discussion' started by wchill, Jan 27, 2010.
Facebook is an annoying piece of shit. So I made the following.
eh whats this do?
Basically stealth blocks Facebook and makes it redirect to Google.
Facebook will got to Google
Okay I'm so lazy I want to integrate the hosts.old part of it into the main program.
Seems like an unnecessary amount of script to simply change the host file.
I use it with a shortcut to quickly switch between protected and unprotected. heheh.
Sure, the script is a bit much, but
1. it works
2. it has a password (prevents pea sea newbs from accessing)
They could just edit the script, make their own, or edit the file manually.
If they know enough to try and run your script, they know enough to do one or all of the above.
They don't know enough to try and run my script. The password is just an extra security measure.
So all of this to make facebook re-direct to google? seems like a hassle and a waste of time
It's evil enough for the application I have in mind
Good lord. So this is supposed to be a 'hax'. Whatever.
You do not need to reboot after modifying the hosts file (at least XP up to Windows 7). Edit: you don't even need the flushdns, because the hosts file is queried before cached DNS entries.
I know a faster and simple way.
Warning: Spoilers inside!
Don't go on Facebook...
Case in point.
Well it's not to stop me, it's to stop someone else who obsesses with it constantly.
And no Strider, it's not a 'hax'. It's a lazy way of blocking/unblocking access to Facebook on my laptop.
Wait now that i think about it.. i remember this scheme from somewhere...because i remember someone here saying that a family member or friend kept using facebook and they wanted to block it without them knowing how to turn it back on or sumthin
Far better to modify DNS entries from the router itself, if you have that option. That way it'll effect all computers on the network and not just the one.