November 11, 20205 yr 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
November 11, 20205 yr With MBS FileMaker Plugin, you can use WebView.SetPreferences function for macOS: MBS("WebView.SetPreferences"; $WebViewerRef; "loadsImagesAutomatically", 0)
November 11, 20205 yr 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, 20205 yr by comment
November 11, 20205 yr 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...
November 11, 20205 yr Author 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
November 11, 20205 yr 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.
Create an account or sign in to comment