Visit website always open in-app view

Discussion in 'Feed Module Discussion' started by adam4369, Sep 14, 2019.

  1. adam4369

    adam4369 New Member

    Joined:
    Oct 24, 2018
    Messages:
    8
    Likes Received:
    0
    some rss feed need to be opened in system browser like opera,Firefox,chrome i tried lots the option
    "Open in Default Browser:" but working
    always url open in app webview even i tried http & https in rss link
    is there are additional things to force "Visit website" button to open in other browsers
     
    #1
  2. adam4369

    adam4369 New Member

    Joined:
    Oct 24, 2018
    Messages:
    8
    Likes Received:
    0
    8 days and no any replay
    i have tested this but not working sill all links open in-app web view only ,any help

    <script>
    function myFunction() {
    var a = document.getElementsByTagName("a");
    for(i = 0;i < a.length; i++)
    {
    a.setAttribute("onclick", "return !window.open(this.href, 'somesite', 'width=500,height=500')");
    }
    }
    </script>
    <script>
    //call after page loaded
    window.onload=myFunction ;
    </script>
     
    #2
  3. adam4369

    adam4369 New Member

    Joined:
    Oct 24, 2018
    Messages:
    8
    Likes Received:
    0
    if the rss feed you use got policy violation ! you will got "Violation of Device and Network Abuse policy" too becouse the web page open into your app as an i frame in html so necessary visit website button open in external browser not in-app webview
    @appyet
     
    #3

Share This Page