How do I copy to the clipboard in JavaScript?

What is the best way to copy text to the clipboard (multi-browser)? I have tried: function copyToClipboard(text) { if (window.clipboardData) { // Internet Explorer ...

Word-wrap in an HTML table

I've been using word-wrap: break-word to wrap text in divs and spans. However, it doesn't seem to work in table cells. I have a table set to width:100%, with one row and two columns. Text in...

How can I convert an HTML table to CSV?

How do I convert the contents of an HTML table (<table>) to CSV format? Is there a library or linux program that does this? This is similar to copy tables in Internet Explorer, and pasting them...

How do I style a <select> dropdown with only CSS?

Is there a CSS-only way to style a <select> dropdown? I need to style a <select> form as much as humanly possible, without any JavaScript. What are the properties I can use to do so in CSS? This...

Loading remote JavaScript file in a page

I've a simple page in which in the head I load several remote JavaScript files (I need them and can't have a local copy). The scripts I load are similar to these: <script type="text/javascript"...

What HTTP header is needed to be returned so web browsers use the suggested filename? (File download from CGI in C)

We have a PDF file download link on a web page with a C language CGI program actually passing on the file from our embedded device's web server. The web server is custom coded because of severe...

How to open in default browser in C#

I am designing a small C# application and there is a web browser in it. I currently have all of my defaults on my computer say google chrome is my default browser, yet when I click a link in my...

Browser bookmarks location variable

I'm wondering if there is a variable in Firefox, Internet Explorer and Google Chrome, etc which contains the location of the bookmarks?

How do I set the cursor to a particular position in the string value of a text INPUT field in Internet Explorer?

I already have this working in Firefox, Safari and Chrome. I would like to be able to programmatically set the position of the text cursor within an INPUT field in Internet Explorer. I looked this...

Inspect Element option for IE?

In Chrome and Firefox, you can right click an element and select "Inspect element" to see developer information about it. Is there a plugin or option that will launch IE Developer Toolbar (or...

Excel VBA: Wait for JavaScript execution in Internet Explorer

I am trying to do some web scraping in Excel VBA. Here is the part of the code that I am having trouble with: IE.Navigate URL Do DoEvents Loop While IE.ReadyState <> 4 Or IE.Busy = True Set doc...

Detect fullscreen mode

Modern desktop version of IE 10 is always fullscreen. There is a living specification for :fullscreen pseudo-class on W3 But when I tried to detect fullscreen with jQuery version 1.9.x and...

"Validation of viewstate MAC failed" with Kentico 7.0 and IIS 7.5

The Situation: We have 2 Webserver IIS7.5 which run loadbalanced (Software, standard install) framework 4.5 installed We have a Kentico 7.0 Installation running on both Server. The Problem: The...

Windows could not start the SQL Server (MSSQLSERVER) on Local Computer... (error code 3417)

For some reasons I moved this folder : (Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL) to another drive, then returned it to the same location, but sql server has stopped working,...

Dojo xhrget sync:true calls freeze IE UI, while FF works fine

I am writing a simple dojo based application in which I show some 'in-progress' messages and spinners on UI (jsp) with setTimeout(clearMessage()) methods to show the message for sometime. On...

Options for embedding Chromium instead of IE WebBrowser control with WPF/C#

Updated for 2020, I've linked my article where I compare the memory footprints of different approaches to hosting HTML WebView in a basic Windows Desktop application: MSEdge WebView2...

Selenium webdriver not identifying the web element in the HTML page

I am trying to automate the testing of a web application whose HTML is rendered via javascript and not Java. I am able to login into the application using selenium as the login is just a HTML...

Space between menu and drop down menu

I'd like for the drop down menu to show below the border line in the main menu area instead of showing up right underneath the 'menu' title/button. I can change the positioning so that it is lower...

How to work around Access VBA error 3188

Having converted a number of fields in a table tblSource to Rich Text memos, I'm getting an error 3188 in the following circumstances. Main form has a subform open (frmSource) bound to qrySource....

Set referer for XMLHttpRequest?

I am successfully sending a XMLHttpRequest by using: var createCORSRequest = function(method, url) { var xhr = new XMLHttpRequest(); if ("withCredentials" in xhr) { // Most browsers. ...

How to create a custom controls on a dialog based MFC project (visual studio 2012)

(Sorry for my poor English) I'm trying to create a custom control on dialog based MFC project (visual studio 2012). This is the setting when i create MFC Dialog based project : MFC App Wizard...

PowerShell programmatically set input field by name in IE

Related: https://stackoverflow.com/questions/17049203/powershell-download-or-save-source-code-for-whole-ie-page The input fields I need to programmatically drive do not have an ID, so I'm trying...

How can I view my ASP.net website on mobile devices

I am developing ASP.Net application which I will later upload/host it. I have being thinking or wondering on how can I access my website on the phone or any mobile device as this is preferable...

SignalR is not loaded. Please ensure jquery.sigalR-x.js is referenced before ~/signalr/js

I have referenced below two libraries dynamically in my page. When I browse my application below mentioned error did not come in Chrome browser. But in Internet Explorer the error occurs. var...

opening microsoft edge or chrome or (another browser (cascading)) on hyperlink

<a href="microsoft-edge:https://www.mywebsite.com/">Register</a> Above is my current a href tag. Here's what I want to do: For example I'm currently on google chrome, I want the link above be...

How to open an HTML file from a batch file in default browser with a specific destination anchor?

I am trying to open an HTML file with a specific destination anchor from a batch file like so: start iexplore %~dps0nl752.htm#01 exit nl753.htm is on the local drive. How can I get Windows to...

Custom sign-in page for Azure AD B2C doesn't load on Chrome & Firefox

We customised our Azure AD B2C tenant's Combined Sign-Up/Sign-In Policy to serve up our own login page. This worked across all the major browsers when we tested last week, but it stopped working...

Error creating context 'spring.root' inner exception: WebSupportModule not initialized

I have an ASP.NET web application which compiles and uses some references, like Spring.Web, Spring.Core, Spring.Aop, Spring.Core and Spring.Services. The corresponding dlls are in the bin folder....

Package latest chrome-engine with your UWP build to avoid legacy Internet explorer issues in Web-View for PWA

Package latest chrome-engine with your UWP (Universal Windows Platform) build to avoid legacy Internet explorer issues in *Web-View*. Let me explain the situation first: I have a legacy UWP...

Python quits silently upon importing tensorflow, no error/logs

I currently have a problem with tensorflow that I've been stuck with for almost 2 weeks now. No matter what Python script I run, every time tensor flow is imported import tensorflow Python just...

Relevant tags