Java script to ignore java script

2 replies
Ok this might sound a little silly.
Does anybody know of a script I can put on my mobile website that will ignore the redirect script on the main webiste?
Problem for me is that I am unable to add a PHP script on the main website so I used Javascript. The client wants her customers to be able to view the main site on their ipads and tablets. I have tried to accomodate this by changing the width ie <=580 but it is still not going to main site.
Does anyone have any ideas? I basically want to put a clickabe link that says return to main site and also override/ignore the java script that redirects them to mobile optimised site
Thanks in advance
#ignore #java #script
  • Profile picture of the author David V
    Do you have a link to the site? I take it you have the JS inline.
    {{ DiscussionBoard.errors[7602444].message }}
  • Profile picture of the author 2WDHost

    Can you copy&paste the mentioned Javascript code here if you haven't resolved the issue yet?
    {{ DiscussionBoard.errors[7617521].message }}

Trending Topics