Home » Source Code » Adding Javascript processing capability to TWebBrowser in iOS

Adding Javascript processing capability to TWebBrowser in iOS

chrpaz
2014-09-29 03:42:30
The author
View(s):
Download(s): 0
Point (s): 1 
Category Category:
WindowsWindows DelphiDelphi

Description

Adding Javascript processing capability to TWebBrowser in iOS

In a post on the Embarcadero forums some time ago, Charles Vinal asked about whether it would be possible to have TWebBrowser implement the stringByEvaluatingJavaScriptFromString method which is available in UIWebView, which is inherited from its ancestor, UIView.
The short answer is yes, however it requires some modifications to existing source. You need to make copies of FMX.WebBrowser and FMX.WebBrowser.iOS, and put them in the compiler search path. Next, make the following changes â
€“ in FMX.WebBrowser, add this to ICustomBrowser




Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
<Adding>0.00 Bto TWebBrowser
...
Sponsored links

Comments

(Add your comment, get 0.1 Point)
Minimum:15 words, Maximum:160 words
  • 1
  • Page 1
  • Total 1

Adding Javascript processing capability to TWebBrowser in iOS (10.20 kB)(9.31 kB)

Need 1 Point(s)
Your Point (s)

Your Point isn't enough.

Get 22 Point immediately by PayPal

Point will be added to your account automatically after the transaction.

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more Points

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D