April 18, 2025, 02:48:28 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
 
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  

Common Coding Tasks (and how to accomplish them)

Pages: [1]   Go Down
  Print  
Author Topic: Common Coding Tasks (and how to accomplish them)  (Read 815 times)
Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
« on: May 28, 2009, 07:46:48 am »

Heh, or you can use this:
Code:
<script type="text/javascript">
var name = document.getElementsByTagName("span");
for(v=0;v<name.length;v++){
if(name[v].innerHTML.match(/Hello <b>(.*)<\/b>/i)){
var username = RegExp.$1;
};};
if(username) alert("Your logged in.")
</script>
Report Spam   Logged




Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy