Consider the following HTML code: <script>setTimeout(() => document.querySelector('link').remove(), 0);</script> <link rel="stylesheet" href="http://localhost:8080/test.php"> where http://localhost:8080/test.php is
Why is that a browser is able to view a expired cookie but if you want to access the same with programming language it is unable to access? If the cookie has expired then why it is visible in browser, all the data and information is also visible. But
Is anyone familiar with the :nth-last-child pseudo-selector? I was surprised it isn't listed on caniuse.com. So, what are your experiences in regards to IE support? Would be cool to add color to long and boring lists of li's. http://www.w3schools.com
My App Chashs. here is the code where goes wrong! public void wbsuche(View view) { String url = "http://www.xxxxx.de/s/?tag=xxxxx&link_code=wsw&_encoding=UTF-8&search-alias=aps&field-keywords="; String zrlll = "&Submit.x
I write following code` <a href="b.html" class="popup">Holiday</a> <script> a.popup.click(function(event) { event.preventDefault(); window.open($(this).attr('href')); }); </script> It'll open b.html in a new win
We use a heatmap at work (it is secure so I can't post it here and I certainly cannot give the url). Now the heatmap is a sigle image, but it is clickable on different segments - There are different icons on the map and each of them pops up a differe
i am calling web-service using this code: function CallService() { $.ajax({ type: "GET", url: "http://devpc4:5566/Service1.asmx/GetItems", dataType: "json", data: "{}", contentType: "application/json; charset=u
I merge two url with the following code. String strUrl1 = "http://www.domainname.com/path1/2012/04/25/file.php"; String arg = "?page=2"; URL url1; try { url1 = new URL(strUrl1); URL reconUrl1 = new URL(url1,arg); System.out.println(&qu
Is there a way I can place the text <p> on top of the image? without using css or javascript. just plain html. The reason being is this technique or approach will be use on older phones that do not support css or javascript. It also does not support
I had Gmail open in a browser that was minimized and when someone sent me a message via gchat, i got a popup notification in the corner of the screen. The popup had no top bar (the one with the minimize, full screen, and close in the top right corner
I want to use fonts on my website which look great in Firefox, but broken up on Chrome and IE. Now to avoid this issue I wanted to change the font family for only Chrome and IE. There is the [if IE] statement for IE support, but is there one for Chro
I version all of my client side JS files like "/js/myfile.js?v=3903948" so that my clients don't need to clear their browser cache to ensure they get the updated files. But every time I push an update, without fail, at least one person runs into
I'm building a web app and wanting to disable transitions effects on Android devices under version 3.0. Is there anyway to pick up the Android version number by Javascript in the browser? If so how? function getAndroidVersion(ua) { ua = (ua || naviga
So check out these buttons: they are unstyled, and look pretty good (the 2nd one is mouse over). Can I somehow maintain their looks, but change the background color? If I do it trough CSS's background-color property I get this: Which doesn't really l
Any lists that I make with the following CSS appear differently in IE8 and FF4. IE8 doesn't have rounded corners, but FF4 doesn't change colour when I hover over it. Are either of them right? ul#mend { border-bottom: 1px #5C87B2 solid; padding: 0 0 2
To implement mobile website it would be useful to set max-device-width in my browser. I know plugins to fake the user-agent. It this also possible for the max-device-width? I would prefer to use a regular browser like Firefox, IE, Opera, ... instead
I am developing one online examination system, in that i want to disable refresh button of browser in particular page. how it is possible? i tried by using JavaScript but it is not working.. Thanx in advance........it is forbidden by security policy
Is it true that web browsers as we know today have no future? That programmers should write native clients for their application on many devices? I'm writing web application with AJAX but should I also prepare versions to many mobile devices?The web
I am about to finish up my dynamic classifieds website (php) and have some problem with figuring out how to write the meta and title tags. I have read mixed articles about the & sign, and how to use it in the title or meta tags properly. What role do
Goal I want to create a web app with a horizontal GUI bar that floats with the user as they move from site to site. e.g. A user will sign into the web at the home page and then proceed to say Google to start searching for their topic. Once they are s
I am starting to work on a browser extension and because of the nature of the extension I need to develop it in C++. I am currently working with Firefox but would like my code to be portable across browsers. First of all is there a library or an inte
This question already has an answer here: How do I manually fire HTTP POST requests with Firefox or Chrome? [closed] 12 answers how to send a post request with a web browser?with a form, just set method to "post" <form action="blah.php&q
Can the browser feature of Ctrl+F to find text be integrated with text in popup windows. I'd like to have some scientific reference information given when someone hovers over a species name in a web page. Generating the popup, tooltip style text is n
I am using the following code for rendering a select box in one of my form and when i inspects i can see the following code in Firefox <select name="make"> <option value="13501">Jeep</option> <option value="26
Is there a way to determine which OS is the browser being run on? I have an NPAPI plugin which, at the moment, can only function on Linux and I would like to alert users if they try using the plugin on !Linux machines.PPK has a script over at quirksm
I have an HTML page containing a flash file, I need to write code in javascript that would execute once the flash file is loaded. (its actually the code to overide the __flash__removeCallback to solve the famous line:52 bug refer: https://bugs.adobe.
Although it's pegged as a 3D graphics framework for the browser, could Google O3D be used as an RIA framework similar to GWT, Flex or Rails?Short answer: Yes. Long answer: More likely it'll just be used for in-browser games. It takes a lot of work to
I wanting to show prices for my products in my online store. I'm currently doing: <span class="ourprice"> <%=GetPrice().ToString("C")%> </span> Where GetPrice() returns a decimal. So this currently returns a value e.g
I was thinking to add meta tag always in all the websites. That will trigger google chorme frame to load for users who already installed. I can see the benefits but is there any concerns or facts that I should know before I do that? Testing in google
I'm getting ready to start work on a new web project for a fairly large corporation. For all their users, something like 17,000 people, they are all stuck with IE6. They plan to have everyone transitioned to IE7 by the end of the year, however the IT