General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
cannot open link
Posted by: jhv
Date: July 23, 2010 06:40PM

Hello. I´m John in Honduras and a new k-meleon user. The following link will not open with k-meleon, instead with Firefox I do not have any problem. What should I do to open http://actualidad.rt.com/ with my new navigator?

Options: ReplyQuote
Re: cannot open link / user agent on rt.com
Posted by: siria
Date: July 23, 2010 07:56PM

Hi John,
I tried and had some probs first with a black screen, but after some testing it looks like they check the browser name and only let certain ones in - so that old trick with "user agent" faking helps, at least partly:

The User Agent that allowed me to get the page was this one, faking the browser name into Firefox3.5, although I have some doubts that all scripts will work on that page, but just try:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5

Click Tools > User Agent > Custom...
Enter that blue string above, then reload the page.


If it works for you too, you can add that string permanently to your list.
There are several ways to do this, one of them stores it in your profile folder:
Click Edit > Configuration > Browser Configuration (=> about:config)
In the filter line type: agent
Right-click on
kmeleon.privacy.useragent2.name
to "copy name", then right-click for "new" "string", right-click to paste, but change the useragent2 into 3 (or whatever your last stored number is)
Then right-click again for "new" "string" and create
kmeleon.privacy.useragent3.string
Copy the blue text from above in it

After the next browser start that entry shows in the User Agent list.
Be aware that this FF3 name fake works only for a few sites that don't accept the old Firefox-2 string, but most other sites will send you wrong javascript versions if you claim to be FF3! Probably rt.com will send you some wrong scripts too, but at least it seems to work partly... perhaps even fully, no idea, you'll have to try ;-)

Options: ReplyQuote
Re: cannot open link / user agent on rt.com
Posted by: disrupted
Date: July 23, 2010 08:19PM

this is a classical case of bad browser detection that sniffs brand instead of engine. there is nothing special on that website..either css or js that requires gecko 1.9 and cripples 1.8, not to mention that they accept opera 9.

even if you use kmeleon 1.6 alpha which uses the same engine as firefox 3.5 you will still get that message.. an extension called agent switcher has been updated to auto change the ua to opera string with that site..you can download the extension from this link:
http://kmext.sourceforge.net/macros/agentswitcherplus.7z

see faq to install:
http://kmext.sourceforge.net/help.htm
or extension manager
http://kmext.sourceforge.net/kem.htm

but my recommendation is override them with css since that is just a layer 'screening' the content..simply removing that layer and you'll have full access to the site..you can still install the agent switcher extension which will come handy for other sites with stupid sniffers, but my recommendation is this:

first open your usercontent.css file from this menu:
edit>configracion>custom stylesheet/css (will vary in spanish kmeleon)

this should open usercontent.css in your notepad.exe

once it's open add those lines to the file usercontent.css(copy and paste brown below)

@-moz-document url-prefix(http://actualidad.rt.com/)
{
div[id="jr_overlay"]{display:none!important}
div[id="jr_inner"]{display:none!important}
}


save the file and restart kmeleon(you must restart kmeleon after)

now you can surf normally to rt without worrying about the useragent

Options: ReplyQuote


K-Meleon forum is powered by Phorum.