ibobo 0 Posted November 11, 2020 Share Posted November 11, 2020 Hi, I m extracting data from web viewer in filemaker, It takes time to load media, so I wonder if it is possible tu load only text ? without media file (pic, gifs, video ..) any plugin are welcome thank you Link to post Share on other sites
MonkeybreadSoftware 12 Posted November 11, 2020 Share Posted November 11, 2020 With MBS FileMaker Plugin, you can use WebView.SetPreferences function for macOS: MBS("WebView.SetPreferences"; $WebViewerRef; "loadsImagesAutomatically", 0) Link to post Share on other sites
comment 1,775 Posted November 11, 2020 Share Posted November 11, 2020 (edited) 28 minutes ago, ibobo said: I m extracting data from web viewer Is there a reason you need to use a web viewer at all for this? Could you not load the page's HTML code into a field or a variable using the Insert From URL[] script step and parse out the data you need from there? I haven't actually tested this, but I believe it should accomplish your purpose. Edited November 11, 2020 by comment Link to post Share on other sites
MonkeybreadSoftware 12 Posted November 11, 2020 Share Posted November 11, 2020 Well, if you would load a dynamic website like Claris Community, you would get an empty HTML page as all the content is loaded later via JavaScript... Link to post Share on other sites
ibobo 0 Posted November 11, 2020 Author Share Posted November 11, 2020 thanks yes I found out about "MBS("WebView.SetPreferences"; $WebViewerRef; "loadsImagesAutomatically", 0)" works well perfect. Comment : yes but there is always some dynamic part that won't show if you just load. thank you all Link to post Share on other sites
comment 1,775 Posted November 11, 2020 Share Posted November 11, 2020 11 minutes ago, ibobo said: there is always some dynamic part that won't show No, not always - only on some sites. And it may not be a part you need. Also, there may be a way to get around that by using cURL - though not in version 15. Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now