Changes

Jump to navigation Jump to search
Often, after you edit a page, there seems to be no change. This is caused by the cache serving up the old page. I made a simple Greasemonkey script to solve this problem. [[User:Felix123|Felix123]] 06:22, 27 May 2008 (PDT)
<presource lang="javascript">// ==UserScript==
// @name Wiibrew
// @namespace Wiibrew
// @include http://wiibrew.org/index.php?*
// ==/UserScript==
if(((document.referrer.indexOf("action=edit")!=-1||document.referrer.indexOf("action=submit")!=-1)&&window.location.href.indexOf("action")==-1) ||document.getElementsByTagName('h1')[0].innerHTML.lastIndexOf("503")!=-1) documentwith(window.location.){replace(windowprotocol+"//"+host+pathname+search+"&"+Math.location.hrefrandom()+"&a=a"+hash)};</presource>
Let me confirm that this script also works with Opera's User JS feature - it does. [[User:Muzer|Muzer]] 04:44, 28 May 2008 (PDT)
:The Opera button is finished. First, go to [http://myweb.tiscali.co.uk/digitaltv/wiibrew.html this page]. On that page, there is a link. Click and drag it to your toolbar. Then click it to properly refresh wiibrew. [[User:Muzer|Muzer]] 04:49, 28 May 2008 (PDT)
Updated. Now will do 503 pages as well. Really, I shouldn't be needing to do this though. Please fix the cache asap. [[User:Felix123|Felix123]] 17:02, 29 May 2008 (PDT)
:Updated again to include anchor compatibility. Now will add a random string instead of "&a=a". [[User:Felix123|Felix123]] 01:29, 3 June 2008 (PDT)
210

edits

Navigation menu