firefox-3

Silverlight 2 Does not render content on IE7 IE8 Firefox 3

≡放荡痞女 提交于 2019-12-11 05:32:55
问题 I have a very simple silverlight xaml page displays textbox and a button. When i run my application on IE6 it works fine. But for IE7 IE8 and FF3 - it does not display any content. The page is rendering blank. <div style="height: 100%; width:100%;"> <asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/test.xap" MinimumVersion="2.0.31005.0" Width="100%" Height="100%" HtmlAccess="Enabled" /> </div> Does anyone has any idea what silverlight content is not rendering ? 回答1: I found an

FormsAuthentication.SignOut don't work on the firefox 3 (asp.net)

眉间皱痕 提交于 2019-12-08 10:06:49
问题 I'm using this code in login page. This is work fine. FormsAuthenticationTicket ticket = new FormsAuthenticationTicket( 1, // Ticket version eUserName.Text, DateTime.Now, DateTime.Now.AddMinutes(30), true, "administrator", FormsAuthentication.FormsCookiePath); string hash = FormsAuthentication.Encrypt(ticket); HttpCookie cookie = new HttpCookie( FormsAuthentication.FormsCookieName, hash); // Set the cookie's expiration time to the tickets expiration time if (ticket.IsPersistent) cookie

DirectX Firefox Plugin rendering artifacts

∥☆過路亽.° 提交于 2019-12-08 04:12:48
问题 QUICK ANSWER : For those of you who reach this page via Google looking for a solution to the same problem, try this quick fix (suggested by Goz) - Add D3DCREATE_FPU_PRESERVE to the behavior flags on your CreateDevice() call. That cleared it up for me! I'm creating a DirectX 9-based NPAPI plugin. It seems to be working well in Chrome and Opera, but in Firefox I get strange rendering artifacts. Upon initializing DirectX (no rendering needs to be done for the artifact to appear) all or parts of

Firefox Addon Development : Detecting non-compatible addons?

三世轮回 提交于 2019-12-07 22:22:29
问题 Few addons are not compatible with mine, so how to detect their presence and inform the user. Thanks 回答1: OK got it here is how this is done : function isExtEnabled(){ if(!Application.extensions.has('EXTENSION_ID_HERE')) { return false; } return true; } 回答2: Here is an example from the evil noscript-1.9.2.xpi which modified adblock plugin settings function MRD(ns) { this.enabled = ns.getPref("mrd", true); if (!this.enabled) return; var c = CC[this.id]; if (c) { this.ns = ns; this.c = c

Can I drag files from the desktop to a drop area in Firefox 3.5 and initiate an upload?

橙三吉。 提交于 2019-12-06 16:45:52
I've set a ondrop event on my drop area and it receives an event when I drag an image from my desktop to the drop area. However, according to the Recommended_Drag_Types document: https://developer.mozilla.org/en/DragDrop/Recommended_Drag_Types A local file is dragged using the application/x-moz-file type with a data value that is an nsIFile object. Non-privileged web pages are not able to retrieve or modify data of this type. That makes sense, but how do I prompt the user to escalate privileges to get access to the file data and send it via an XMLHttpRequest ? If I try it without escalating

DirectX Firefox Plugin rendering artifacts

时光总嘲笑我的痴心妄想 提交于 2019-12-06 16:17:36
QUICK ANSWER : For those of you who reach this page via Google looking for a solution to the same problem, try this quick fix (suggested by Goz) - Add D3DCREATE_FPU_PRESERVE to the behavior flags on your CreateDevice() call. That cleared it up for me! I'm creating a DirectX 9-based NPAPI plugin. It seems to be working well in Chrome and Opera, but in Firefox I get strange rendering artifacts. Upon initializing DirectX (no rendering needs to be done for the artifact to appear) all or parts of the Firefox UI will turn black. Resizing the window (IE: Initiating a repaint) clears up the artifacts

jQuery each tr.children is undefined in Firefox 3.0

时光怂恿深爱的人放手 提交于 2019-12-06 06:29:27
I have a snippet of code that I'm working with to filter rows in a table. It works perfectly in every browser other than Firefox v3.0.x (works fine with 3.1 beta 2). When I run the snippet in Firefox 3.0.x, it says that children is undefined . I am using jQuery v1.2.6 also. Code Snippet: var bodyRows = $("#resultsTable tbody tr"); bodyRows.each(function(n){ if(!filterPattern.test($.trim(this.children[2].innerHTML))){ //errors here this.style.display = 'none'; } else { this.style.display = ''; } }); The code selects all table rows and then loops through them, testing the innerHTML text of the

Firefox Addon Development : Detecting non-compatible addons?

巧了我就是萌 提交于 2019-12-06 06:08:51
Few addons are not compatible with mine, so how to detect their presence and inform the user. Thanks OK got it here is how this is done : function isExtEnabled(){ if(!Application.extensions.has('EXTENSION_ID_HERE')) { return false; } return true; } Here is an example from the evil noscript-1.9.2.xpi which modified adblock plugin settings function MRD(ns) { this.enabled = ns.getPref("mrd", true); if (!this.enabled) return; var c = CC[this.id]; if (c) { this.ns = ns; this.c = c.createInstance().wrappedJSObject; this._w._mrd = this; var eh = this.c["elemhide"]; eh.watch("url", this._w); eh.apply(

How can I change Firefox's proxy settings from an external program?

女生的网名这么多〃 提交于 2019-12-05 20:16:28
问题 I've seen a few programs (eg Charles Web Developer Proxy) that are able to modify Firefox's proxy settings. The sequence is: Firefox is running, with the users proxy settings. User starts the external third party application, which modifies Firefox's proxy settings, and then the user exits the third party program and, Firefox resumes running with its original proxy settings. Assuming the external application is remembering the old proxy settings and restoring them on exit how can I read and

AJAX https POST requests using jquery fail in Firefox

匆匆过客 提交于 2019-12-04 15:23:37
问题 I have a simple list of records in an HTML table with a delete link for each row. The delete link shoots off an AJAX post request to a fixed url that looks like: " /delete/record/5 " The AJAX request is created using jquery's .ajax() call with a POST message when running on a server that uses https. This call fails in Firefox 3 on OSX/Windows architectures. It works on all other browsers I've tested (OSX/Windows: Chrome, Safari, IE7.) The requests are coming from an https site and going to