PDA

View Full Version : How can I detect that my page Is being loaded inside Winamp?


3kwartappel
12th April 2010, 21:51
Hi

I tried the advice found on the link below (look for string Winamp in navigator.appVersion; )
but it does not work.

http://dev.winamp.com/wiki/Winamp_Browser_Support#How_can_I_detect_that_my_page_Is_being_loaded_inside_Winamp.3F


please see screenshot below
http://lyricsmeaning.davidsmit.za.net/Untitled.png

is there another way of detecting the winamp browser?

Regards
appel

3kwartappel
2nd June 2010, 12:23
like i said above, i couldnt get the app version thing to work in asp.net

only thing that works for me is this :

if ( !window.external || !window.external.Transport )
{//this is not winamp}
else{//this is winamp}