browser

Best approach for creating a time sensitive browser app for desktop with high time precision?

我们两清 提交于 2019-12-24 13:58:46
问题 I have to develop an application that will be required to measure user response time within a series of experiments. This application will be run on approximately 100 computers, thus I had mentioned that a browser based approach might be best to cut down on performing installs and updates. With that said, now that I've read about the accuracy of timers in browsers, specifically javascript timers, I'm learning there can be a delay from a few milliseconds to upwards of 10-15ms. This sort of

Get page URL in IE context menu extension

孤者浪人 提交于 2019-12-24 13:33:35
问题 I am using IE as my browser, what I want to do is : 1. to do right click in IE page, then click a custom menu which call an external script in my local. 2. this external script is used to get the current page url where I do this right click action. Supposed I open https://docs.microsoft.com/en-us/sql/t-sql/statements/drop-external-resource-pool-transact-sql in my IE browser, then I do right click to execute my external script from my local. So what I want to get is the exact URL (https://docs

Grail (web browser) installation on Scientific Linux

ぃ、小莉子 提交于 2019-12-24 13:17:55
问题 I'm not sure if Grail browser is a good choice nowadays, however I want to try it, because I have some problems about graphics running on Firefox-Fermi. The next, is what I obtain after trying grail-0.6 (tgz) # python grail.py Traceback (most recent call last): File "grail.py", line 43, in ? from Tkinter import * After installing "tkinter" adequately, I run "grail.py" again, and I get # python grail.py /root/grail-0.6/grailbase/app.py:6: Deprecation Warning: the regex module is deprecated;

HTML does not update after being modified with JavaScript in .hta application

混江龙づ霸主 提交于 2019-12-24 13:02:09
问题 I have a .hta File containing JavaScript and HTML. My JavaScript Code modifies the HTML with functions like "appendChild", but the HTML does not get updated afterwards; Even if the element was corretly appended in the DOM-Structure (I can alert the .innerHTML, returning the html-code like it should be, but it doesn't show in the browser). If put in an HTML-File, it works completely fine. <!DOCTYPE html> <html> <head> <hta:application id="prjreq_v1" applicationname="ProjectRequirements">

How to open the Excel(.xlsx) file embeded in Windowforms control in 64 bit OS

那年仲夏 提交于 2019-12-24 12:50:16
问题 I am trying to display the Excel document in windows forms using the webbrowser Control. Using the code googled in Codeproject How to Integrate Excel in a Windows Form Application using the WebBrowser[^] and i am able to disaply excel(.xls and .xlsx) files in 32 bit Operating System correctly in webbrowser control. But when i trying to execute the code in 64-bit operating system .xlsx type Excel files didn't open in webbrowser Control instead they were opening as normal excel file but .xls

Reusing browser/tab in VB.net

流过昼夜 提交于 2019-12-24 12:44:32
问题 I am using Process.Start() to open a URL and it's great for a one-time use but if opening multiple URLs it creates either a new instance of the default browser or uses a new tab. I need to use the original tab. Suggestions? 回答1: For Internet Explorer, you will need to reference the shdocvw.dll COM component located, by default, at c:\windows\system32\shdocvw.dll . This COM component contains a ShellWindows object that you can use to determine if there is a running instance of Internet

Parsing AJAX driven page

老子叫甜甜 提交于 2019-12-24 12:35:02
问题 I am trying to parse data from a page that is not filled in until after the page is finished loading. Because of this I cannot get a simple solution utilizing while (wb.ReadyState != WebBrowserReadyState.Complete) { Application.DoEvents(); } to work. I have tried using the solution found at View Generated Source (After AJAX/JavaScript) in C# but I cannot figure out how to get it to wait for the post-loading data is downloaded. Please help! The data is automatically filled into the page after

Set large value to div's height

谁都会走 提交于 2019-12-24 12:08:22
问题 I have a problem with height limitation of <div></div> in some web browsers, like Firefox. I have javascript code like this: $('#MyDiv').css("height","20000000px"); // 20,000,000 pixel height But I see height: 2e+7px; rule in the firebug. This problem exist in IE too, But in google chrome everything is ok and I see height: 20000000px; . How can I set very large value to div's height in a way that works for most browsers? EDIT: firefox has no scrollbar in this div, but google chrome has

Prepend/Append don't Work (Opera, Safari, Chrome)

六月ゝ 毕业季﹏ 提交于 2019-12-24 11:53:55
问题 Comarades, I tried using the append and prepend (), but none of the controls work. Could anyone help me? In Internet Explorer and Firefox works. The Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title></head> <script type="text/javascript" src="raphael-min.js"><

Embedded/Headless browser in Java that supports custom DOM events or injecting javascript

余生颓废 提交于 2019-12-24 11:12:58
问题 I want to use some kind of webbrowser object in java to navigate to an Ajax page and (a) add a listener to a DOM element that fires every time the HTML is changed dynamically by the server or (b) inject Javascript into the DOM to fire a custom event or call a Java method via an external interface or something. Any suggestions on components that might do this, please? Any component that merely displays the page being navigated to and captures user click event is no good, unfortunately. I need