Hi,

I am trying to make a chrome extension that clears cache, but i am using the history just to test it. I have the JSON file all ready to go and have the button to make it clear just need to make it clear when the button is clicked. the json files name is manifest.json

Heres the HTML code:


<style>
body {
min-width:357px;
overflow-x:hidden;
}

img {
margin:5px;
border:2px solid black;
vertical-align:middle;
width:75px;
height:75px;
}
</style>
<HEAD>
<script src="manifest.json">
{
function displayMessage()
{
alert("Cache is cleared!");
}
</script>
</HEAD>
<body>
<CENTER>
<form>
<input type="button" value="Click to clean" onclick="displaymessage()" />
</form>
</body>

</CENTER>


Thanks!!