browser

How to display a XDP pdf file in browser like how normal PDF file open?

只谈情不闲聊 提交于 2019-12-19 10:45:23
问题 I have a XDP file that Acrobat can open. It contains a PDF plus some data to fill in the form fields in the PDF. In my HTTP request header I set content-type to "application/vnd.adobe.xdp+xml" and Content-Disposition to "in-line" still my browser downloads the file and asks me if I want to Open it or save it. When I click on Open it loads the PDF form and data inside Acrobat, not in the web browser. Do you have any idea? UPDATE: I reinstalled the Adobe plugin and now browser(FireFox) attempts

Open my site in default browser from facebook insted of facebook browser

こ雲淡風輕ζ 提交于 2019-12-19 10:35:09
问题 My website works well on all modern desktop and mobile browsers. Some functionality will not work with facebook browser on smartphones. This is a problem because my site works badly when someone share the link on facebook. One functionality that does not work is upload files. Example scenario on Android smartphone The user clicks on a link to my page in the facebook app My Website opens in facebook browsers The user can not e.g upload any files The user clicks on the three dots in the top

Looking for an addon to automatically select all instances of selected word in the current page

天涯浪子 提交于 2019-12-19 10:22:45
问题 I am looking for an addon to install so that when you select a word in a webpage ( by clicking) it automatically highlights all the instances of that selected words in that text. There used to be this highlightall addon but it no longer works for recent version of Firefox! It was ver handy as all you had to do is to select that word and all instances get highlighted Such an addon would be very helpful when reading a code as you can simply select a variable name and it would select everywhere

Using back button: IE and Safari not reading from cache whereas Firefox and Chrome do

馋奶兔 提交于 2019-12-19 10:06:46
问题 I'd like to avoid a GET request when the user navigates away from a page and returns to it when using the broswer's back button. This works fine without any special treatment in Firefox and Chrome (recent versions). However, Safari and IE both perform a GET request when using the back button to go back to a previous page. I've fiddled around with headers controlling the caching behavior (Last-Modified, Expires, Cache-Control) without success. Any suggestions how one can stop IE and Safari

Testing for Flash capability on the server-side

我怕爱的太早我们不能终老 提交于 2019-12-19 10:04:28
问题 I'm developing an ASP.NET website that will need to support non-flash users. In case the user's browser doesn't support Flash, or they have Flash disabled, I'd like to download a large splash image to the browser. However I don't want to waste bandwidth downloading it if the Flash does render properly. So is it possible to test, from the server-side using .NET code, whether the browser supports flash? I looked through the 'Request.Browser' object, but couldn't find anything relevant to Flash.

How to Force a file to download using PHP on mobile Browsers?

穿精又带淫゛_ 提交于 2019-12-19 09:49:30
问题 I want to write a php script to download some files(extensions - .apk, .dcm, .pdf, .zip etc...) on mobile browsers. I have written a php code to download those files and it is working fine on all the browsers(not mobile browsers). But I tried it using a HTC mobile and it is trying to open the file instead of downloading(like opening a web page). How can I enable the download on mobile browsers? Thank You PS: This is how I do it. I use a jquery code to send some parameters to a php file and it

How to detect the browser capabilities?

牧云@^-^@ 提交于 2019-12-19 09:16:31
问题 From all the reading that I have done, I have understood that using user-agent string is not recommended, as it can be spoofed. Devices can be hindered, etc. I have also understood that the best option is to do a browser capability testing. How do I do his? I mean, are there some standard capability test that I could do, something like this: object detection? One more concern is that, won't this include some overhead every time a user accesses the site? I know I can counter this using some

How to detect the browser capabilities?

谁说我不能喝 提交于 2019-12-19 09:16:08
问题 From all the reading that I have done, I have understood that using user-agent string is not recommended, as it can be spoofed. Devices can be hindered, etc. I have also understood that the best option is to do a browser capability testing. How do I do his? I mean, are there some standard capability test that I could do, something like this: object detection? One more concern is that, won't this include some overhead every time a user accesses the site? I know I can counter this using some

HTML form values and 'Back' button

被刻印的时光 ゝ 提交于 2019-12-19 09:12:50
问题 How can one retain HTML form info when hitting the back button? Is this a default HTML or Browser behavior? Or is it Browser dependent? 回答1: It is default browser behavior, but ONLY if the page containing the form is cache-able, e.g. has headers set such that the browser is allowed to cache it. How does SO's form remember previous input values? 回答2: That i s not a browser behavior, it depends on the technology/framework you use 来源: https://stackoverflow.com/questions/1036782/html-form-values

Web Browser to handle pop ups within the application

落花浮王杯 提交于 2019-12-19 09:03:26
问题 I am trying to use the WebBrowser control to launch a new form for popups instead of it opening in IE. I have tried to use the AxWebBrowser instead to get the popups which works with NewWindow3 event and just doing e.ppDisp = AxWebBrowser.Application , but there are many limitations that come with AxWebBrowser. So instead I am trying to Extend the normal WebBrowser to include the NewWindow3 event like the AxWebBrowser but running into problems. With e.ppDisp = AxWebBrowser.Application I am