[webkit-help] How to add a new translate function in WebCore...

陳彥旭 chris6906 at gmail.com
Sun May 16 23:06:35 PDT 2010


Hello guys,

My friends always use "window.replaceFrameContents" in his *.aspx files for
ANT. But Wekit not support this function, I need to add <script
language='javascript'>window.replaceFrameContents = function (txt, name) {if
(document.getElementsByName(name)[0])
document.getElementsByName(name)[0].innerHTML = txt;}</script> in his file
every time. So, can you tell me how to add the translate function in Webkit
Core?

Thanks very much.

Christopher.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100517/13d8454a/attachment.html>


More information about the webkit-help mailing list