Reloading a page on the fly is easy with JavaScript.
Need to reload a page using JavaScript? It's quite simple.
window.location.reload();
When you have access to the code inside an iFrame, you can manipulate its DOM that can lead to style changes.
It's super frustrating to have a race condition in which some JavaScript code may be run before a variable it needs exists, causing an error. Here's one approach to getting around that.
Here's a cool trick to run JavaScript on SharePoint 2010 wiki pages without editing the master page.