-
Quote:
Originally posted here by mjk
Are you trying to cheat on www.hackthissite.org? Getting others to do the work for you?
It got defaced though so that challenge is now non-existent.
(For those who don't know, there was a programming challenge on that site where you must write a program that will clear browser cache when you click the Refresh button.)
But back to the topic... What I'd do is use Windows API. Make it capture mouse clicks, and if the click is inside a certain set of X, Y coordinates, then run some function to delete those files/folders. The bad part about this is the browser window has to always be maximized or in the same position.
It sounds fairly straightforward, but I don't think I'm up to the challenge. I just clear Mozilla's cache manually every once in a while. Works for me.
mjk
What is www.hackthissite.org? I just got some flame about some hackers...
-
www.hackthissite.org is one of those wargame sites that lets you test your hacking ability legaly on there hacking misson game thingies (if that makes sense lol) The tests are good but the problem is there site always has crazy evil admins that mess everything up, so they have to weed out the crazy evil admins and get rid of them before it happens again. It just recently happened and I lost all my completed missions and points! So I pretty much stopped going there. But you learn alot, I suggest you go check it out and see what they're all about.
Sorry but i'm a little crazy mood right now :p
-
Okay, sorry for being a little rude in my last post. It was just that they had that programming challenge and you just happened to post the exact thing.
But anyways, you haven't stated why you want to clear the cache when the refresh button is clicked. What is the advantage of doing this, instead of clearing it when the browser exits? Or clearing it manually?
mjk
-
The other suggestions listed work perfectly for my needs. I just had the refresh button idea because I thought it'd be neat, but the other things work fine. :-)