browser

Why do firefox/chrome show a different page than IE8?

青春壹個敷衍的年華 提交于 2020-01-24 15:00:01
问题 When I look at this published Google Docs document, I see the latest version with Firefox and Chrome , but an older version with IE8 . Also, screen-scraping it via PHP/Curl gives me an older version. I've tried CTRL-Refresh in IE8 but I can't get it to show me the newest version. No matter what headers I try to change in PHP/Curl, I can't get it to show me the newest version. Note: I'm sure I could dig in IE8 and find some cache entry to clear, but what is not happening on this URL that is

Drawing rectangles on top of image R shiny

六月ゝ 毕业季﹏ 提交于 2020-01-24 12:57:04
问题 I'd like to elaborate on the accepted answer to this question. I'm looking at improving the minimal shiny app below (extracted from the accepted answer) with the following features: 1) draw the rectangle + a text label . The label comes from R ( input$foo ), e.g., from a dropdown. To avoid the edge cases where the labels fall outside the images, labels should be placed inside their rectangles. 2) use a different color for the rectangles and their labels depending on the label 3) ability for

Minimize Microsoft Edge browser from C# not working

血红的双手。 提交于 2020-01-24 12:55:12
问题 I am trying to minimize the Microsoft Edge browser through C#. All the other browsers like Chrome, Firefox, Internet Explorer are working fine except Microsoft Edge. Can anybody please help me on this. Here is my code. [DllImport("user32.dll")] static extern bool ShowWindow(IntPtr hWnd, int nCmdShow); static void Main(string[] args) { var processes = Process.GetProcessesByName("MicrosoftEdge"); //var processes = Process.GetProcessesByName("chrome"); foreach (var process in processes)

Web Browser in a fullscreen Direct3D application

时间秒杀一切 提交于 2020-01-24 11:04:28
问题 I need to have a working web browser in a fullscreen Direct3D application. For example, Valve's Source-based games (sort of) do it in the MotD window when you join a server. Any tips on where to look? 回答1: Second Life uses ubrowser (http://ubrowser.com/) to embed a browser over a 3D world. As the source code is available for the Second Life client (http://wiki.secondlife.com/wiki/Get_source_and_compile) it would be a good place to see how they have done it. Note however, they are using OpenGL

Web Browser in a fullscreen Direct3D application

…衆ロ難τιáo~ 提交于 2020-01-24 11:04:23
问题 I need to have a working web browser in a fullscreen Direct3D application. For example, Valve's Source-based games (sort of) do it in the MotD window when you join a server. Any tips on where to look? 回答1: Second Life uses ubrowser (http://ubrowser.com/) to embed a browser over a 3D world. As the source code is available for the Second Life client (http://wiki.secondlife.com/wiki/Get_source_and_compile) it would be a good place to see how they have done it. Note however, they are using OpenGL

Why would html source not change when the DOM is updated dynamically

徘徊边缘 提交于 2020-01-24 04:37:10
问题 I had posted one question earlier jQuery inconsistency in setting readonly attribute in IE-8 and FF-3.5.8 and was quite happy with the answer. But I did notice that if you update (any??) DOM elements dynamically, then view source (using browser's view source) I find the the updated DOM element attribute retains its older value(before update). However, if you use Firebug/IE Developer toolbar, it displays the updated DOM Example:http://gutfullofbeer.net/readonly.html FF3.5-View page Source:

Check if browser notification is available

这一生的挚爱 提交于 2020-01-24 04:08:05
问题 I am working with browser notifications and because it is not available for every browser I want to check in my JS-code , if it is available. I took a look in the Mozilla developer section: https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API They tell me that I should use this code to check whether a browser has notification support or not: if (!("Notification" in window)) { alert("This browser does not support system notifications"); } I copied that

how to change xml by browser

北城余情 提交于 2020-01-23 18:03:44
问题 I would like to change some rules in my XML depending on the browser. For example, the 'fontcolor' should be black when using IE. So far I googled it, I found this could be possible using XSLT. But unfortunately, after googling/trying&error after 1/2 days, I still didn't get the clue how to do this. Could someone help me how to solve this? Any help would be highly appreciated. Thanks !! EetieD. My current XML: <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href=

how to change xml by browser

匆匆过客 提交于 2020-01-23 18:03:33
问题 I would like to change some rules in my XML depending on the browser. For example, the 'fontcolor' should be black when using IE. So far I googled it, I found this could be possible using XSLT. But unfortunately, after googling/trying&error after 1/2 days, I still didn't get the clue how to do this. Could someone help me how to solve this? Any help would be highly appreciated. Thanks !! EetieD. My current XML: <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href=

Why is there a significant performance increase when using td and tr to wrap thousands of lines of source code in a listing?

两盒软妹~` 提交于 2020-01-23 12:42:17
问题 I am currently writing a sophisticated syntax highlighter to properly highlight source code listings. In order to test the performance of my statically generated HTML output (not even while dynamically replacing the DOM) I initially used a 3k LoC file which resultend in an 1 MB HTML and noticed unbearable performance degradation on my first implementation. Previously the output was of this form: <pre> <code> <span class="token import">import</span> <span class="token export-all">*</span> <!--