Author Topic: Global variables  (Read 1259 times)

0 Members and 0 Guests are viewing this topic.

Offline Agent Moose

  • Newbie
  • *
  • Posts: 37
  • Karma: 12
  • Gender: Male
  • Miss me?
  • Location: South Carolina, United States
    • View Profile
Re: Global variables
« on: August 03, 2010, 02:15:58 am »
This would me much appreciated by me too :)

I hope it can be done :)
Code: [Select]
//Hint hint :)
if(/action=profile;u=(.*);sa=UserPage/i.test(location.href)){
var number = RegExp.$1;
var username = (smf_id_member !== "0") ? document.getElementById("upper_section").getElementsByTagName("li")[0].getElementsByTagName("span")[0].innerHTML : void(0);

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
474 Views
Last post July 15, 2012, 10:07:40 pm
by Seldom Fail
2 Replies
1072 Views
Last post October 06, 2012, 10:07:39 am
by robetson123
10 Replies
2003 Views
Last post May 06, 2013, 03:27:41 pm
by forum
1 Replies
353 Views
Last post July 08, 2014, 10:25:09 pm
by Amila
2 Replies
146 Views
Last post February 13, 2016, 03:31:23 pm
by Clay Death