Simple Machine Codes
March 28, 2024, 09:18:12 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Gallery Affiliates Code Index Staff List Calendar Members Login Register  

[InvisionFree] Remove the Topic Options

Pages: [1]   Go Down
  Print  
Author Topic: [InvisionFree] Remove the Topic Options  (Read 1058 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: August 12, 2007, 11:06:49 am »

Code:
<script type="text/javascript">
var a = document.getElementsByTagName('A');
//Created by Agent Moose
for(b=0;b<a.length;b++){
if(a[b].href.match(/'topic_open/i)){
a[b].style.display = 'none';
}}
</script>

Footers.

This is my official first full javascript code for InvisionFree :bigsmile:
« Last Edit: October 14, 2007, 08:00:48 pm by Agent Moose » Report Spam   Logged

Share on Facebook Share on Twitter

kevin-1990
Jezus I am scary
Members

Offline Offline

Posts: 52



View Profile
« Reply #1 on: August 13, 2007, 10:28:45 pm »

nice code
by why would you want to delet your topic options Tongue
Report Spam   Logged
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #2 on: August 13, 2007, 10:31:40 pm »

I doin't know.  Just a code I thought I would make.  and also, it was my first full Javascript code.
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