BBC Borked again. (in General)

AdminG Beee June 12 2007 6:43 AM EDT

Can we have a "fixed better" please :)

Remember this problem and then the solution from Verifex.

deifeln June 12 2007 6:44 AM EDT

Chage your homepage to :o)

AdminG Beee June 12 2007 6:46 AM EDT

My homepage is google :p
We need a "fixed better" because if anyone links to the BBC on the forums it screws with CB in general.

QBBast [Hidden Agenda] June 12 2007 7:06 AM EDT

Find a better news outlet.

PoisoN June 12 2007 7:09 AM EDT

Do you use the latest Greasemonkey(0.7) version? The script should only work on some domains (see the script header, e.g. @include Is the script even active on the page? If so and that bug can reproduced it might be reported to the developers team, as this should not happen and might even be a security problem.

SNK3R June 12 2007 9:38 AM EDT

Find a better news outlet.


Miandrital June 12 2007 3:05 PM EDT

Poison, it isn't a GM thing, at least from the previously threads about it. It has to deal with the cb frameset and how the bbc links screw with that.

Test Link

th00p June 12 2007 3:25 PM EDT

Mian: that royally screws things up as much as usual =)

bartjan June 12 2007 3:57 PM EDT

No matter what I try, I can't replicate it...

Brakke Bres [Ow man] June 12 2007 4:05 PM EDT

that link gives me no problems what so ever.

Brakke Bres [Ow man] June 12 2007 4:08 PM EDT

never mind it does, but only when im not pushing CTRL to open it in a new tab (using FF)

Miandrital June 12 2007 4:17 PM EDT

What you have to do is open the link in the same frame as cb. Then, click the home link in the sidebar.

Now, everything cb link you click should be opening in a new tab.

bartjan June 12 2007 5:18 PM EDT

Why on earth open external links into CB's frame? The middle mouse button was invented for a reason ;)

QBBast [Hidden Agenda] June 12 2007 5:29 PM EDT

There's a middle mouse button? Is that a fun euphemism for "wheel"? o.O

smallpau1 - Go Blues [Lower My Fees] June 12 2007 5:42 PM EDT

G5 mice mess the middle button/scroll wheel button up tremendously, lol.

My G5 setup is my thumb button is scroll/middle mouse button, tilt mouse wheel left is back button, same for right tilt going forward a page. The mouse wheel button is too hard to pres so it does nothing, lol. Love this G5 mouse, but i just wish i could program the button to do things in applications, like ventrilo, i love using mouse4 as my mic button, but it doesnt recognize it in ventrilo, =X

Back on topic though, if i see links in forums on CB i always click it to open in a new tab without even thinking, lol. So yeah, until somethings done, im just gonna keep opening it in a new tab, haha.

AdminQBVerifex [Serenity In Chaos] June 12 2007 6:11 PM EDT

One thing to note, and I know this doesn't "fix" your problem GB, but if you have the NoScript plugin, and you don't allow BBC to use scripts that bug doesn't show up. So obviously there is some JS code that is overwriting something on the BBC page, this is interesting as it would appear like one of those remote code execution bugs. The problem is that the BBC site has just as much JS code as any large site, so digging through it is difficult (even using "FireBug").

But I'll look at it, I have a feeling the function/variable names on BBC are interfering with CB. I think at some point in the past I filed a bug against Firefox for this one, and I know for a fact that the IE people have this bug filed somewhere. Fun Trivia: This bug exists in IE, Opera AND Firefox.

I have a feeling that although this is undesired behavior, I think this might be related to the way in which CB builds the frameset. ;)

AdminQBVerifex [Serenity In Chaos] June 12 2007 6:46 PM EDT

Ok, I think I know what the problem is here:

For one reason or another, when you click a button in a link, the frame's NAME actually changes to something new. So, in essence the sidebar frame, which is using the <base target=cbmain> to designate which frame all links point to, is pointing to a named frame that no longer exists as soon as you click the BBC link within a frameset.

The solution to this, is to change the way the sidebar references the main frame. Either by JS magic to modify all links on the sidebar to use enumerated access to the second frame. So instead of <a href='/'>Home</a> it would be something like <a href='javascript:// go home' onClick='top.frames[1].location.href='';">Home</a>
Although that is a little intense for an entire page to have that much code added for it.

Unfortunately there is no way I've seen to make the <base target='cbmain'> programmatically reference "top.frames[1]"

So, one other option would be for the page to run through each link and add eventlisteners on each link to make it reference top.frames[1].location.href="Add link here". And then put "attributes" on certain links (like the standard and favorite links) to exclude them from being "tagged" with this click eventlistener.

As you might have guessed, this problem isn't as easy as simply changing one thing or another to make it work. So, for now, I would say don't go to BBC from inside the CB frame. ;)

Miandrital June 12 2007 6:54 PM EDT

So is that why if you click fight while you have an external page loaded inside the frame it doesn't do anything?

AdminQBVerifex [Serenity In Chaos] June 12 2007 6:55 PM EDT

Essentially, yes. Man, that is freaking lame. I think all 3 browsers really dropped the ball on this one, I hardly think this is desired behavior!

AdminG Beee June 13 2007 4:52 AM EDT

What I find weird is that it worked well for a while after the initial solution and then recently stopped working. I suspect something has changed on CB to cause the problem to resurface.

smallpau1 - Go Blues [Lower My Fees] June 13 2007 2:33 PM EDT

Ok, i opened it in CBs window and when i hit 'home' it opened CB in a whole new tab and when i went to the new CB tab i still couldnt click any links in CB without navigating away from CB, even though the new tab never touched BBC, lol.
This thread is closed to new posts. However, you are welcome to reference it from a new thread; link this with the html <a href="/bboard/q-and-a-fetch-msg.tcl?msg_id=0028WL">BBC Borked again.</a>