cordova - phonegap access origin for images only in listview -
i'm wondering if it's possible use specific access origin. example, in database have url pictures displayed in listview. in text content have link url of original article. if use access origin="*", link in text content opens in webview , crashes ajax page loading. if allow access server, image doesn't displayed in listview.
my question whether can whitelist specific url. example, image links www.example.com/res/images/ , original page url www.example.com/news/. possible add example.com/res/images access images load original article opens in browser? i've tried many different combinations , haven't been able desired output.
here's answer problem...and don't have use workarounds inappbrowser or childbrowser android.
i learned in config.xml access origin="...", have specify website urls. if website doesn't use www uses http://example.com, have put exact url in origin...and can add http://example.com/res/images/ allow part linked , displayed in app. if have link of http://example.com/news/something, clicking on url prompt native browser window.
doing way, dynamically loaded content through ajax not break , app runs should. hope someone!!!