boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

read more javascript hack
Goto page Previous  1, 2
 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
Kiin



Joined: 10 Jun 2003
Posts: 21

PostPosted: Fri Jul 04, 2003 3:30 am    Post subject: Reply with quote

Ohh nice hack! Very good idea, it should have taken me 2 mins to install but it took like 15 since I kept screwing it up :p Thank god for backup. Leave it to me to screw even the simplest things up. It's nice and I expect to put some use to this little bugger, thanks!
_________________
-Kiin
Back to top
View user's profile Send private message
Nalani



Joined: 04 Jul 2003
Posts: 1

PostPosted: Fri Jul 04, 2003 4:01 am    Post subject: Reply with quote

I downloaded oops.js and tried to install it, but something very strange occurred. It somehow caused my site to redirect to pure-essence.net. Did you update the file? Because when I used a friend's file, it was very different (but it worked).
Back to top
View user's profile Send private message Visit poster's website AIM Address
Armitage



Joined: 28 Dec 2002
Posts: 14

PostPosted: Mon Sep 15, 2003 7:44 pm    Post subject: Reply with quote

Yea, she has a line in the code that checks to see if you type www. to get to the site, if you did it changes the address to remove it.

In oops.js its probably the first 3 lines...
Code:

if(window.location.href.toLowerCase().indexOf ('http://www', 0) != -1) {
              top.location.href='http://pure-essence.net/';
}


Comment them out or delete them.
Back to top
View user's profile Send private message Visit poster's website
Shockingbird



Joined: 25 Jan 2002
Posts: 4

PostPosted: Wed Sep 17, 2003 10:13 pm    Post subject: Reply with quote

This is one of the coolest hacks I've seen in a long time!!
_________________
www.shockingbird.com
Back to top
View user's profile Send private message Send e-mail AIM Address
Supersonic Squirrel



Joined: 28 Dec 2002
Posts: 17
Location: Beograd, Serbia

PostPosted: Fri Oct 03, 2003 3:57 pm    Post subject: Reply with quote

This is beautiful, thanks for sharing it with us.
I'll install this on my hostee's blog, since she posts 20 quizzes each day.
_________________
My domains...all of them B2-powered:D
http://www.daredevil-inside.com
http://www.supersonicsquirrel.net
http://www.flatoutblind.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Mellissa



Joined: 17 Nov 2002
Posts: 28
Location: Malaysia

PostPosted: Tue Nov 04, 2003 11:58 am    Post subject: Reply with quote

Excellant! Thank you!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ghost0156



Joined: 19 Nov 2003
Posts: 24

PostPosted: Wed Nov 19, 2003 3:10 am    Post subject: Reply with quote

For latest release of b2 this hack don't work!!!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghost0156



Joined: 19 Nov 2003
Posts: 24

PostPosted: Fri Nov 21, 2003 8:37 pm    Post subject: Reply with quote

In the my b2 this hack not work why?? i've the latest version!!!!!
please reply me!! i need this hack
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jackiefg



Joined: 15 Oct 2003
Posts: 29
Location: Toronto, Ontario, Canada

PostPosted: Fri Dec 05, 2003 10:12 pm    Post subject: Doesn't validate with the "More" in same page code Reply with quote

My site validates as valid XHTML if I don't use the extended "more" in the same page. However, when I use it, I get the following errors:

Line 106, column 381: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
...v id="varXYZ62" style="display: none"></p>
^
Line 106, column 385: end tag for "div" omitted, but OMITTAG NO was specified
...="varXYZ62" style="display: none"></p>
^
Line 106, column 341: start tag was here (explain...).
...lf">And more… »</a></span><div id="varXYZ62" style="display: none"
^
Line 113, column 3: end tag for element "p" which is not open (explain...).
</p>
^
Line 226, column 5: end tag for element "div" which is not open (explain...).
</div>
^

I have been searching for extranneous codes and extra </p's but it all looks good to me.

Any ideas on how to fix it up? I put a lot of work into getting my site re-valid - so now I hate to have any error messages.
_________________
jackiefg
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
jackiefg



Joined: 15 Oct 2003
Posts: 29
Location: Toronto, Ontario, Canada

PostPosted: Tue Dec 09, 2003 5:27 pm    Post subject: Hello? Reply with quote

Anybody home?

Does anyone know which file I'd have to edit in order to find the extra div's and p codes that don't validate when I use the extended <!--more hack - as in my last post?
_________________
jackiefg
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
submodalities



Joined: 01 Apr 2004
Posts: 9

PostPosted: Thu May 20, 2004 1:33 am    Post subject: Reply with quote

Nalani wrote:
I downloaded oops.js and tried to install it, but something very strange occurred. It somehow caused my site to redirect to pure-essence.net. Did you update the file? Because when I used a friend's file, it was very different (but it worked).


The exact same thing happend to me, I am needing the FILE!

[email protected] (could someone email it to me?)
Back to top
View user's profile Send private message
kotatsu



Joined: 29 May 2004
Posts: 1

PostPosted: Sat May 29, 2004 9:21 pm    Post subject: for wordpress 1.2? Reply with quote

Does anybody know if this hack is compatible with Wordpress 1.2?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Hacks All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group