browser

Accessing local file with Ajax on Windows phone 8

╄→гoц情女王★ 提交于 2019-12-25 03:49:21
问题 I have a page Index.html which call a javascript, that make a ajax request looking for a local .html file This file is imported in my C# project as content and the javascript fire inside a WP8 webbrowser control. The problem is that the ajax function return an access denied error. What can i do? sorry for my broken english Resolved by adding isLocal:true in the ajax request $.ajax({ url: "page.html", dataType: "html", async: false, // Otherwise Android 2.2 doesn't show menu isLocal: true, //

snapshot from browser with flash or javascript

白昼怎懂夜的黑 提交于 2019-12-25 03:39:36
问题 I saw a thread here suggesting using a HPA to take a browser screenshot, but I was wondering if you could help me. I would like to be able to select a part of a piece of a web page and render it as an image. I know flex can take images of its own canvas, but is it possible to take a picture of the rest of the page? I would like to be able to do it with just flash and javascript, and without a plugin. I realise that I may be asking for magic, so thanks for your help. 回答1: If Flex can do it,

Sending data to PHP via $.ajax is not working in every browser

折月煮酒 提交于 2019-12-25 03:38:27
问题 I know there were so many related questions like this one. But I didn't find any question that can solve my problem or I didn't find it yet. Umm...I am using three kind of browsers : Maxthon 4.4.2.2000 , Spark Security Browser 33.9.2000.3033, and Mozilla 32.0.3. I'm using $.ajax() to send data from my login form Form <form method="POST" id="login_data"> <table> <tr> <td>Username</td> <td><input id="txt_user" type="text" name="txt_username"></td> <td><label id="warn_username"></label></td> <

Has anyone successfully implemented Narthex from marklogic.com?

拟墨画扇 提交于 2019-12-25 03:33:32
问题 I'm liking what I read about Narthex, but the bug list looks a touch scary, the reliance on a specific server install doesn't make me leap for joy, and the setup is a bit over my head. What I'd ideally like to know is whether or not I should invest time in not just trying this project out but learning how to implement it. My immediate and future needs require something like Narthex to aid in the creation of interfaces and collections of learning material, it would be in a controlled usage

Visual C++ Error C2146

耗尽温柔 提交于 2019-12-25 03:28:24
问题 everyone, I was trying to compile a program using C++/CLI to check my stocks, but I ran into an error when I put the variable in the URL. Can anyone help me, please? private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { this->webBrowser1->Navigate("http://finance.yahoo.com/echarts?s="num".HK+Interactive#chart1:symbol="num".hk;range=1d;indicator=volume;charttype=line;crosshair=on;ohlcvalues=0;logscale=on;source=undefined"); } Oh, and by the way, this code is from

what happend when click mutilple links before browser display the requested page

爷,独闯天下 提交于 2019-12-25 03:14:10
问题 say I open a browser window, click weather link , but the network is slow, before the server send me back anything, I click another sport link. which page will I get eventually? since the second httprequest may arrive the server earlier than the first one. and server will may send back the response for the second httprequest first, so my browser will display weather page instead of sport page? since there are two response, how does browser handle them? is that possible browser dispay weather

C# Post to browser fails, any ideas?

孤人 提交于 2019-12-25 03:11:59
问题 This is a quick and dirty app that only needs to work for a short period. I'm not a developer so please don't hammer me. The following code in asp works fine (secret info replaced with example.com and abc 123). I know the below is very bad practice, but this is just for demonstration purpose: <form method="post" action="https://example.com/asppage.aspx" id="frm_main"> <input type="hidden" name="STATE" id="STATE" value="ABC" /> <input type="hidden" name="VALIDATION" id="VALIDATION" value="123/

Get selected element from browser search

拥有回忆 提交于 2019-12-25 03:01:11
问题 I would like to get the currently highlighted element that the browser search is actively highlighting. Is this possible? My use case is, I have a collapsible Table of Contents with font-size 0, and when they search something, if it is in the ToC, it would be listed as a result. But since its font-size is 0, it would not be visible, so I would like to expand that section of the ToC. 来源: https://stackoverflow.com/questions/23479237/get-selected-element-from-browser-search

Get selected element from browser search

夙愿已清 提交于 2019-12-25 03:01:09
问题 I would like to get the currently highlighted element that the browser search is actively highlighting. Is this possible? My use case is, I have a collapsible Table of Contents with font-size 0, and when they search something, if it is in the ToC, it would be listed as a result. But since its font-size is 0, it would not be visible, so I would like to expand that section of the ToC. 来源: https://stackoverflow.com/questions/23479237/get-selected-element-from-browser-search

WPF Application hosting a HTML page, the flash is disabled, how to enable?

前提是你 提交于 2019-12-25 02:47:32
问题 I have made a small application where the user can browse to a web page, im using a "Frame" for the purpose and passes a URL to it, it then renders the destination page as HTMl. The page im trying to show shows some flash animation and my "Frame" browser cant show it, i suspect that the browser plugin is disabled, but how to enable, when the hosted "Frame" browser has no toolbar? 回答1: Solved: The problem wasnt enabling/disabling, but the fact that i set my WPF application to compile to "Any