<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://theportalwiki.com/w/index.php?action=history&amp;feed=atom&amp;title=User%3AEpicEric%2Fvector.js</id>
	<title>User:EpicEric/vector.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://theportalwiki.com/w/index.php?action=history&amp;feed=atom&amp;title=User%3AEpicEric%2Fvector.js"/>
	<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=User:EpicEric/vector.js&amp;action=history"/>
	<updated>2026-04-30T02:20:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://theportalwiki.com/w/index.php?title=User:EpicEric/vector.js&amp;diff=39431&amp;oldid=prev</id>
		<title>EpicEric: Created page with &quot;/*BEGIN UTC CLOCK*/  /** additional monobook scripts **/ hookEvent( &#039;load&#039;, displayTimer );  /**** function displayTimer.js  * by Patrick Westerhoff [poke]  */ function displayTi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=User:EpicEric/vector.js&amp;diff=39431&amp;oldid=prev"/>
		<updated>2011-11-19T19:56:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;span class=&quot;autocomment&quot;&gt;BEGIN UTC CLOCK: &lt;/span&gt;  &lt;span class=&quot;autocomment&quot;&gt;* additional monobook scripts *: &lt;/span&gt; hookEvent( &amp;#039;load&amp;#039;, displayTimer );  &lt;span class=&quot;autocomment&quot;&gt;*** function displayTimer.js  * by Patrick Westerhoff [poke]: &lt;/span&gt; function displayTi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/*BEGIN UTC CLOCK*/&lt;br /&gt;
&lt;br /&gt;
/** additional monobook scripts **/&lt;br /&gt;
hookEvent( &amp;#039;load&amp;#039;, displayTimer );&lt;br /&gt;
&lt;br /&gt;
/**** function displayTimer.js&lt;br /&gt;
 * by Patrick Westerhoff [poke]&lt;br /&gt;
 */&lt;br /&gt;
function displayTimer ()&lt;br /&gt;
{&lt;br /&gt;
  if ( typeof( timerDisplay ) !== &amp;#039;undefined&amp;#039; &amp;amp;&amp;amp; timerDisplay === false )&lt;br /&gt;
    return;&lt;br /&gt;
  &lt;br /&gt;
  /* Time-zone settings */&lt;br /&gt;
  var timerTimezone = 0;        /* Leave blank for UTC */&lt;br /&gt;
  var timerTimezoneLabel = &amp;quot;UTC&amp;quot;;  /* Leave blank to display &amp;quot;(UTC)&amp;quot; or &amp;quot;(UTC-X)&amp;quot;.  Fill in to display &amp;quot;(TIMEZONE UTC-X)&amp;quot; */&lt;br /&gt;
&lt;br /&gt;
  var date;&lt;br /&gt;
  var timerParent = document.getElementById( &amp;#039;p-personal&amp;#039; ).getElementsByTagName( &amp;#039;ul&amp;#039; )[0];&lt;br /&gt;
  var timerLink   = document.createElement( &amp;#039;a&amp;#039; );&lt;br /&gt;
  var timerObj    = document.createElement( &amp;#039;li&amp;#039; );&lt;br /&gt;
  timerLink.href               = &amp;#039;/w/index.php?title=&amp;#039; + wgPageName + &amp;#039;&amp;amp;action=purge&amp;#039;;&lt;br /&gt;
  timerLink.title              = &amp;#039;Purge the server cache and update the contents of this page.&amp;#039;&lt;br /&gt;
  timerObj.id                  = &amp;#039;pt-timer&amp;#039;;&lt;br /&gt;
  timerObj.style.textTransform = &amp;#039;none&amp;#039;;&lt;br /&gt;
  timerObj.appendChild( timerLink );&lt;br /&gt;
  timerParent.insertBefore( timerObj, timerParent.firstChild );&lt;br /&gt;
  &lt;br /&gt;
  function actualizeUTC ()&lt;br /&gt;
  {&lt;br /&gt;
    timerDate           = new Date();&lt;br /&gt;
    timerLink.innerHTML = ( timerDate.getUTCHours()   &amp;lt; 10 ? &amp;#039;0&amp;#039; : &amp;#039;&amp;#039; ) + timerDate.getUTCHours()   + &amp;#039;:&amp;#039;&lt;br /&gt;
                        + ( timerDate.getUTCMinutes() &amp;lt; 10 ? &amp;#039;0&amp;#039; : &amp;#039;&amp;#039; ) + timerDate.getUTCMinutes() + &amp;#039;:&amp;#039;&lt;br /&gt;
                        + ( timerDate.getUTCSeconds() &amp;lt; 10 ? &amp;#039;0&amp;#039; : &amp;#039;&amp;#039; ) + timerDate.getUTCSeconds() + &amp;#039; (UTC)&amp;#039;;&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  function actualizeCustom ()&lt;br /&gt;
  {&lt;br /&gt;
    timerDate           = new Date();&lt;br /&gt;
    timerDate.setMinutes( timerDate.getMinutes() + timerDate.getTimezoneOffset() + timerTimezone * 60 );&lt;br /&gt;
    timerLink.innerHTML = ( timerDate.getHours()   &amp;lt; 10 ? &amp;#039;0&amp;#039; : &amp;#039;&amp;#039; ) + timerDate.getHours()   + &amp;#039;:&amp;#039;&lt;br /&gt;
                        + ( timerDate.getMinutes() &amp;lt; 10 ? &amp;#039;0&amp;#039; : &amp;#039;&amp;#039; ) + timerDate.getMinutes() + &amp;#039;:&amp;#039;&lt;br /&gt;
                        + ( timerDate.getSeconds() &amp;lt; 10 ? &amp;#039;0&amp;#039; : &amp;#039;&amp;#039; ) + timerDate.getSeconds()&lt;br /&gt;
                        + &amp;#039; (UTC)&amp;#039;;&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  // start&lt;br /&gt;
  if ( typeof( timerTimezone ) !== &amp;#039;number&amp;#039; )&lt;br /&gt;
  {&lt;br /&gt;
    actualizeUTC();&lt;br /&gt;
    setInterval( actualizeUTC, 1000 );&lt;br /&gt;
  }&lt;br /&gt;
  else&lt;br /&gt;
  {&lt;br /&gt;
    actualizeCustom();&lt;br /&gt;
    setInterval( actualizeCustom, 1000 );&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
/*END UTC CLOCK*/&lt;br /&gt;
&lt;br /&gt;
/*BEGIN WIKI ED*/&lt;br /&gt;
document.write(&amp;#039;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;&amp;#039;&lt;br /&gt;
+ &amp;#039;http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&amp;#039;&lt;br /&gt;
+ &amp;#039;&amp;amp;action=raw&amp;amp;ctype=text/javascript&amp;quot;&amp;gt;&amp;lt;/&amp;#039; + &amp;#039;script&amp;gt;&amp;#039;);&lt;br /&gt;
/*END WIKI ED*/&lt;/div&gt;</summary>
		<author><name>EpicEric</name></author>
	</entry>
</feed>