Execution of javascript in page context

  • Автор темы Автор темы chris007
  • Дата начала Дата начала

chris007

Новичок
Регистрация
09.10.2012
Сообщения
14
Реакции
1
Баллы
0
Hello,

I've been trying to execute javascript for various DOM operations but I didn't figure a way.

First I tried the "Own JavasScript" box but it seems it does not see the DOM or access the window and document objects.

Then I tried to use ExecScript or InsertScript in a "Own C#" box, but they return Resut:ok yet nothing happens.


Can you detail an example, like popping up an alert("test") box?

Can I embed my own javascript with the page in general? It would be a great miss not to have access to the page in this way. I could use jQuery or some other library to easily make tests and control the page.

Thank you
 
Not possible to embed your js with a page's source for now.
 
I see.
I managed to do everything I wanted with the C# API. :)

Thanks
 
the same to me..
Did anybody solve this problem?
 
could you show a example how to use execScript and InsertScript ? I never execute the two functions successfully ..
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)