Problems with Flutter InAppWebView (Blank Page) - flutter

When clicking on the links on the site whatsapp.com blank pages open.
The URL in "onLoadStart" returns an empty string. No errors in "onLoadError".
If paste the URL into "initialUrlRequest", then everything works fine.
If disable JavaScript, then everything works fine too. This problem is only with JavaScript enabled.
if open the site and click link in a regular browser, then everything is fine
Thank you for your help!
flutter_inappwebview
5.3.2

Related

Squarespace code injecting

I injected <script> tags into my squarespace template making the <main> display:none. Now I cannot edit that section through squarespace because it is gone. Recommendations how to get it back without starting from scratch?
$( "#page" ).css( "display", "none" );
was the code I injected into the HTML.
Thank you in advance.
Its hard to understand what you are asking, but i'll assume that you added that single line of code, it hides everything when you navigate to your site page, and you are not sure how to go back to the adminstration page to remove that line of code?
You used "code injection" to insert that code. You can go back to that same code injection location and remove that line of code. The squarespace manual has documentation on code injection. If you are not sure where to go to get back to the administration pages, you can enter a url like this: https://<yoursite>/config for example: https://mysquarespacesite.com/config
For your problem I have one solution using Chrome inspector console tool(inbuilt tool of Chrome browser), make sure you open your website on Chrome browser with login to your squarespace website and follow these steps:
On your website homepage for example: https://<yoursite>/config, Click F12 from your keyboard OR right click using mouse and click on Inspect which will show you inspector mode of Chrome browser
Go to Console tab from inspector tool
Paste following code into Console:
document.getElementById('page').style.display = "block";
Hit enter and your <main> tag will be set as display block
Now your <main> section should be visible, go to code injection of your website and permanently remove display : none which will fix your website hiding <main> section problem for forever
Following are pictures of every step:
Note: I have tested this code into demo template of Squarespace website: https://bedford-demo.squarespace.com
Use the below code. Your code will execute only when you are not logged in as administrator.
if (window.top.location.href == window.self.location.href) {
$("#page").css("display", "none");
}

Facebook mobile workaround no longer working

Until today, I was able to add ?ref=ts to a Facebook tab url & it would be mobile-friendly.
Not today. Has anyone else experienced this? Is there a workaround to the workaround?
Link for example: https://www.facebook.com/microartssandbox2015/app/924049424328019/?ref=ts
Works fine on desktop.
However, on mobile, I get:
The page you requested cannot be display right now ...
This has never really worked for me. The general (and well known) workaround is to use an external website and redirect to the Page on desktop. On mobile, you just stay on the external website.

Facebook like box-WordPress text widget showing in IE but not showing in Firefox and chrome

I'm working on this site for a client http://mohamadelbialy.com/translate, the facebook page url is https://www.facebook.com/translateinegypt my OS is windows 8.1, IE version = 11.0.9600.16521, chrome version = 34.0.1788.0, firefox version = 28.0.
I used the https://developers.facebook.com/docs/plugins/like-box-for-pages to generate an Iframe like box and added the code through a WordPress text widget to show it on pages sidebar (intentionally doesn't show on homepage), if you click on any of the pages, there should be Fb like box on sidebar, however it shows only in IE and I get an empty space on both chrome and firefox.
Interestingly enough, I've done another site for a client two years ago and added fb like box with the same approach and it used to show just fine, now it gives the same results.
I've tried a couple of plugins like (simple fb plugin - official facebook plugin - and about 3 more) and tried adding the html5 and JDK code instead of Iframe but ended up with the same result.
It looks to me that something is going wrong with the fb-WordPress integration.
please let me know if you've any solution to this, I can't deliver the website to the client like this. any help will be appreciated.. thanks.

Facebook tab not working in IE, works on website URL

I've created this facebook tab, and for some reason it will not work in IE once implemented into facebook. It DOES work on the website url where it is placed. The url is: https://www.enterprisebanking.com/assets/fb-products/
The tab works great in every browser except for IE. In IE, the entire middle section is missing and the tabs are unable to be clicked on.
Here's a screenshot of how the tab looks in IE: http://grab.by/s9Qu
Any advice is appreciated.
Dan
You have a console.log in https://www.enterprisebanking.com/assets/fb-products/js/tabs.js this will cause it to break in IE.

Facebook Custom IFrame Tabs and Internet Explorer 8 Issue

I have created my first IFrame App in facebook (custom tab), and all the IFrame is directing to is a simple PHP page, with HTML tags stating Hello World...
However, this is showing up in Firefox and Chrome, but not in Internet Explorer - and I cannot figure out why; even tried googling it to no avail.
Please help me! I cannot move forward without solving this issue!!
did you already fixed this? I figured out that the Internet Explorer has a differend handling for parameters. I faced the same issue: my cutom tab (iframe) was working perfectly on Firefox, Opera, Chrome, but never shown IN IE7+8.
Later I realized that I added a questionmark to the URL, but w/o any parameter, like this:
http://www.mydomain.com/mypage.html?
Solution: If you just only want to embedd an html page, you don't need to do this any longer. Just create your Facebook app, go to "Facebook Integration", scroll down to "Page Tabs", add a "Tab Name" and the "Tab URL". Don't add a "?" to the Tab URL.
Once I removed the "?" the custom iframe tab is shown in Internet Explorer 7 and 8.