Phonegap app issue : links within iframes take over the whole screen - iframe

I'm building a phonegap app. It contains an iframe which loads the pages from another domain. Those pages may contain some links. When I open up those links on iOS, the links take over the whole screen. Then I have no way to go back to the application. On android, the link cannot be opened due to "Forbidden by X-Frame-options". Any ideas how to fix it? Thanks

Related

How do I update my website cached version on Google cachedview?

I am developing a website and I faced an issue today on my site, I will try to briefly explain the scenario hoping anyone could give a proper explanation for it.
My website is a WordPress website and I have the coming soon page activated so users will be redirected to it.
Two days ago I turned that plugin off by mistake and users were able to see my page. Today I turned it back on, and that's where the issue arises.
In full web (desktop) the coming soon page is visible and working fine, but when I hit the responsive view on my chrome browser the page is still available and the welcome page is not. In the sources tab, I can see the hosted directory being loaded so I went to the hosted directory (public_html) and I hid the folder that contains all the assets (renamed it to .foldername).
I hit refresh still loads the old page when I hit ctrl+shift+r I get the new version. On Firefox the scenario isn't reproducible it just happens on responsive view on Google Chrome browser.
Can anybody explain to me what's happening I assume it has something to do with Google caching my webpage and never updating it. But if like to hear a more professional explanation Thanks.
Have you tried clearing your Cache in Google Chrome? Also, Have you enqueued any Scripts or Styles in your functions.php file? If so, increase their version number. This will force the browser to download the Scripts and/or Styles again rather than loading any Cached copies.
Hope this helps to resolve your problem(s).

Can I reject notifications when I uninstall Progressive Web App on the home screen?

I am in trouble with the operation of Progressive Web Apps.
First, I pressed "Add to Home Screen" on the web, added the application to the home screen, and gave permission for push notification.
After that, I uninstalled Progressive Web Apps from the home screen, I expected that the notification will not arrive, but in fact it gets notified.
Can I detect uninstallation and reject push notifications?
I tried searching including the following site.
For example, but there is nothing expected of event or status.
Although it is an attachment of the home screen after uninstallation,
A Google Chrome icon is displayed in the notification bar.
home screen image
Based on your comment in response to the other answer, I figure you are building a progressive web app and want to implement this feature (turning off notifications on removal from the home screen) in your own PWA?
Currently (October 2017) there is no way for a PWA to detect if a user has removed it from their home screen. There is a way for the PWA to detect if it is uninstalled (as in the service worker is removed from the browser all together) but that is something totally different. You aren't uninstalling the PWA when you remove it from the home screen, you're just removing a shortcut. The PWA is still installed in the user's browser. They could still manually visit the site and your PWA would still be working.
Maybe this will become a feature in the future. For right now there isn't even a way to create a hack that would help.
If you navigate to the web app in question using Chrome for Android, either directly or by tapping on a notification, you can manually adjust its permissions by tapping on the "Lock" icon next to the location bar, then choosing "SITE SETTINGS", and then making changes there.
The specific steps to do this would vary if you're using a browser other than Chrome.

How to make a aspx website compatitble with mobile

I have created a Login webpage in asp.net with oracle as back end. Its kind of portal thing.
When I am loading the web page in laptop browser its completely fine.
When I am loading the web page in mobile browser its loading as normal with no problems.
But I want to load the page with a customized view when browsed in iPhone/mobile . Can anyone give me idea how to do it please?
Example: when facebbook.com loads in iphone it uses the same databse but completely different view than in desktop.
Thank you
The best way I find to do this is to add a separate mobile site (e.g. m.domain.com), and have mobile browsers redirect to this.
For adding a seperate mobile site, this guide seems to explain it very well.

Web page download progress with percentage

i saw that flash website can be develop to show percentage of loading page. when web page is downloading in client machine then a percentage is shown and show much content is downloading in client machine. so i just want to know the same effect can be achieve in asp.net website where we will show the percentage of the page content is downloading in client machine with the help of JQuery when page will be requested by user.
please discuss how to achieve it. thanks.
GMail uses a loading bar as well. Here is a blog posting on how to make one for your own website, might be handy:
http://yensdesign.com/2008/11/how-to-create-a-stylish-loading-bar-as-gmail-in-javascript/

Facebook API in Flex

If anyone has experience with the Facebook API,
What I’m trying to do is have a logged-in FB user, in my FB app, be able to browse photos uploaded by friends [not necessarily with themselves in those photos -- but just to see photos by their friends]. Is this possible?
Thanks in advance!
I think it's possible. It depends on how you want these photos to be displayed.
I have never connected the facebook API with any Flex app but I have experience with projects that use Iframe to display HTML content in FLex apps. You can find the Iframe project here:
iframe project. In my opinion you can generate these photos in a php script that uses the
facebook API and display its result as Iframe in your Flex application.
I've described the way how the IFrame can be used on my blog here:
Iframe in Flex . I use this approach very often and I've never had any problem with it.

Resources