andynvt

Results 30 comments of andynvt

@p-mazhnik It seems it's not working for me. I use this URL for testing. ``` https://99rnp6er5kop15.embednotionpage.com/Notion-test-page-3d941e191ea94e648c50d85a160cd333 ``` ```dart await controller.evaluateJavascript(source: 'document.getElementsByClassName("layout");'); await controller.evaluateJavascript( source: 'document.getElementsByClassName("layout")[0].setAttribute("style", "--margin-width: 10px; padding-bottom: 0px;");', );...

Thanks for your response @p-mazhnik. Unfortunately, I deployed it to firebase hosting. And it remains the same issue. (evaluateJavascript not working)

> @andynvt, For web even after disabling CORS, there is a internal CORS thrown while accessing iframe of diff domain. basically, it browser restricts you to even access the iframe...

I cannot host the embedded webview on my server, it's in another 3rd service. I think most webview cases will look like my case (showing a 3rd party website iframe)....

@p-mazhnik Should you release a new package for this? it seems the author didn't work on this repo anymore

yes, really need it > I really need this functionality, is there anything new?

any update ? Right after the toast is dismissed from screen, the error will show ``` Flutter 3.16.9 • channel stable • https://github.com/flutter/flutter.git Framework • revision 41456452f2 (7 weeks ago)...

> Wrap it with Future.delay: ![image](https://private-user-images.githubusercontent.com/90593296/312313556-e8d76ca4-ccfc-4aa6-af56-e68dde4f9d0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTAzMDU1ODEsIm5iZiI6MTcxMDMwNTI4MSwicGF0aCI6Ii85MDU5MzI5Ni8zMTIzMTM1NTYtZThkNzZjYTQtY2NmYy00YWE2LWFmNTYtZTY4ZGRlNGY5ZDBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzEzVDA0NDgwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBjYTA5MTllMzhiZmEyZWZmYTkxZTgxY2Q2MmI2Y2MzMjhkZGUyOWY0YTNmNmJiYmZlYjUxMDY4YWUwYzJiNzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2pQ_xgm-Ab2XgmWPj589wW9ah6VTOBjGXFNo2I_VFLo) Does this work @Trung15010802 ?

> > > Wrap it with Future.delay: ![image](https://private-user-images.githubusercontent.com/90593296/312313556-e8d76ca4-ccfc-4aa6-af56-e68dde4f9d0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTAzMDU1ODEsIm5iZiI6MTcxMDMwNTI4MSwicGF0aCI6Ii85MDU5MzI5Ni8zMTIzMTM1NTYtZThkNzZjYTQtY2NmYy00YWE2LWFmNTYtZTY4ZGRlNGY5ZDBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzEzVDA0NDgwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBjYTA5MTllMzhiZmEyZWZmYTkxZTgxY2Q2MmI2Y2MzMjhkZGUyOWY0YTNmNmJiYmZlYjUxMDY4YWUwYzJiNzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2pQ_xgm-Ab2XgmWPj589wW9ah6VTOBjGXFNo2I_VFLo) > > > > > > Does this work @Trung15010802 ? > > It's work for me. I don't see any error...