Function to detect Frefox`s wmlbrowser

Started on the old forum in August 2010 · view the original in the archive · old links redirect here

9 replies · 885 views · started 16 years ago · 1 min read

8 participants
shad0w Developer · 119 posts #1

Hi. Firefox has an extension called wmlbrowser that allows to display wml pages. I neet something like

if( user uses firefox and has wmlbrowser extension ) { display something }elseP don`t display

whatmp3.name - search mp3 on mobile

subzero Super moderator Fellow · 3,954 posts #2

show firefox not allowed ??

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

metulj Super moderator Principal · 1,726 posts #3

shad0w wrote: Hi. Firefox has an extension called wmlbrowser that allows to display wml pages. I neet something like

if( user uses firefox and has wmlbrowser extension ) { display something }elseP don`t display

you can't block firefox.. so whats the deal?

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

subzero Super moderator Fellow · 3,954 posts #4

Oh ok

block Web browsers in wapsite

Never known browers like opera,firefox,ie,chome,sifi cant be blocked lol

Any way enjoy this script

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Mysterio Lead · 630 posts #5

Even with WML Browser, User Agent and Content Accepts won't change: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729) text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8

But the problem is, what if it uses User Agent Switcher and shows something like: Nokia n70 text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8

Now how to detect?

mysterio.al - programming is a functional art

Vayne Developer · 106 posts #7

hmm, for IE is conditional comments or css hack in html, maybe searh in google and might get something.

Nous Ne Dansos Pas, Nous Sommes Le Danse.!

metulj Super moderator Principal · 1,726 posts #8

Mysterio3 wrote: Even with WML Browser, User Agent and Content Accepts won't change: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729) text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 But the problem is, what if it uses User Agent Switcher and shows something like: Nokia n70 text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Now how to detect?

metulj wrote: you can't block firefox.. so whats the deal?

now my reply above does make sense does it?😳

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

GiLL Senior · 356 posts #9

you cant ban as user agent switcher can change user agent so left only ip would you like ban ip ? alot of users will be banned if they have same ip or ip can be changed there are no way ban some who is clever ......they know how to open ya site

left wap stuff

khan Lead · 681 posts #10

You Can only detect firefox original browser. If Any one use user agent switcher or any thing like that, you can't block or detect it. You can only detect The Ip, Coz it's not changed with the switcher. But if any one use hide ip or ip changer (I use), Its impossible to detect. I can easily go through with another ip. But If you use

$_SERVER['HTTP_X_FORWARDED_FOR']

This, You can Easily detect Ip's that changed.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close