Skip to main content
53 votes

Why does my browser attempt to download pages from http://clhs.lisp.se instead of viewing them normally?

There is something wrong with the way that website and/or web sever is delivering web pages. This is not a problem on your end but rather something odd on the server side; with either the website ...
Giacomo1968's user avatar
  • 59.4k
31 votes

Is it possible to take a screenshot of a web page as an SVG image?

I wrote an open source browser extension that does exactly this. It works by traversing the DOM and converting elements to SVG elements, using the styles and coordinates computed by the browser. The ...
felixfbecker's user avatar
24 votes
Accepted

Link to a specific part of a webpage, if the author didn't create #named anchors within it?

You can link to any text on any page using the general form: https://domian.com/page.html#:~:text=some%20phrase
Peter Kionga-Kamau's user avatar
21 votes

How to configure the default app to open tel: links in MacOS X?

You can change this without an extra app via the preferences in FaceTime. On the Setting tab change the last entry "Default for calls" to Skype. At least this way works for Skype for Business.
Michael Koegel's user avatar
19 votes

Downloading blob image

You just need to create your own element using the image source of the image you want to download, so as a basic example: var image = document.querySelector('img'); // Image you want to save ...
miknik's user avatar
  • 291
17 votes

How to take a screenshot of an entire scroll element?

From Chrome dev tools > Device Toolbar, you can focus the required element and click on Capture full size screenshot.
Naga Kiran's user avatar
15 votes
Accepted

Emptying HTML tags with sed

* is greedy, so <.*> matches everything from the first < to the last > in the line. Some tools understand *? as non-greedy analogue of *, but not sed. In your case one can still go with ...
Kamil Maciorowski's user avatar
13 votes

UTF-8 Angle brackets up and down?

You could use: &#xfe3f; / &#65087; : ︿ aka «Vertical Left Angle Bracket», ref &#xfe40; / &#65088; : ﹀ aka «Vertical Right Angle Bracket» ref Logical and and logical or ...
user3342816's user avatar
13 votes

"Save as webpage, HTML Only" Fail while offiline, Firefox

This worked for saving a webpage (as HTML) that's in your Firefox browser, while you're offline. Tested on Firefox 144.0.2, Dec. 2025. By default this fails. It's due to a default setting and you can ...
Nissim Nanach's user avatar
11 votes

Windows deletes HTML files when I delete a folder

How do I delete the folder without deleting the HTML file? Explorer Rename the folder before deleting it. This includes: Removing the _files portion of the name at the end of the folder. Renaming ...
Anaksunaman's user avatar
  • 18.6k
11 votes

How to get code block with syntax highlighting into LibreOffice Writer

Libreoffice extensions There are several extensions that allow to highlight a code snippet. You can search for them in extensions.libreoffice.org. Among the others code highlighter code colorizer ...
Hastur's user avatar
  • 19.6k
11 votes
Accepted

Visual Studio Code shortcut to wrap HTML element into container tag

I don't know if there's an extension that does your exact 2 steps, but here's a very way to do it in 3: Select a HTML tag, collapsed or not - doesn't matter. Press hotkey for editor.emmet.action....
Destroy666's user avatar
10 votes

Why does my browser attempt to download pages from http://clhs.lisp.se instead of viewing them normally?

This funny website return for your page an answer with the following headers: HTTP/1.1 200 OK Content-Type: application/octet-stream Accept-Ranges: bytes Content-Length: 8896 Date: Sat, 21 Sep 2019 ...
harrymc's user avatar
  • 503k
10 votes
Accepted

How to save a Hugo site as HTML files?

I have run hugo server -D. For clarity, hugo server -D will not create .html files. It only serves files on the fly (as you suggest in your original question). To generate .html files in the public ...
Anaksunaman's user avatar
  • 18.6k
9 votes

Emptying HTML tags with sed

Just rename all nodes to empty strings and delete all attributes using xmlstarlet: xml ed -r '//*' '' -d '//@*' This will add an XML header (<?xml version="1.0"?>) and leave a slash ...
Dmitry Grigoryev's user avatar
8 votes

Why does my browser attempt to download pages from http://clhs.lisp.se instead of viewing them normally?

You can try ModHeader. After install you visit the root of the site, click on the extension icon, then on the plus sign, response header and type Content-Type. Happy browsing of that site. You can ...
Eduardo Trápani's user avatar
7 votes

Using bash to export a comma separated list to html

Your quoting is wrong, specifically the double double-quotes. Let's break down what you have, the bits concatenated together echo ""<tr onmouseover="this.style.backgroundColor='#ffff66';""; the ...
glenn jackman's user avatar
6 votes

How can I return to a named anchor after scrolling in Chrome?

Use this bookmarklet: javascript: var h = location.hash ; location.hash = "" ; location.hash = h ; null Explanation: Setting location.hash will cause the page to scroll to that anchor. As a special ...
Noach's user avatar
  • 171
6 votes

uBlock Origin - Create filter based on href link

It's a cosmetic filter, so you need to prefix with the target site. The rest is standard CSS Syntax. targetpage.com##a[href*="referral_story"]
FatBat's user avatar
  • 306
6 votes
Accepted

Adding a context sensitive context menu entry for .htm and .html files

The "file extension" keys such as .htm usually don't contain their own settings directly; instead, their (Default) value points to a named filetype (the ProgId) – which may indeed be ...
grawity's user avatar
  • 519k
6 votes
Accepted

Why does Pandoc not allow me to put a <div> within <a> in my HTML document?

<div> (or any block element) wrapped with <a> is valid HTML - but only HTML5. Whatever you used may use HTML4 spec - e.g. if you went for html4 specifically. Since you haven't even posted ...
Destroy666's user avatar
5 votes

How to configure the default app to open tel: links in MacOS X?

That FaceTime setting is still available on Mojave. FaceTime/ Preferences/ Settings/ 'Default for calls' popup list
Anonymous coward's user avatar
5 votes
Accepted

can the webmaster know if I use show page source?

Generally, no. It's not possible to tell how the browser has decided to render a page. However, there are a few possible exceptions (though those are largely guesswork): If you're using keyboard ...
Bob's user avatar
  • 64.5k
5 votes

Downloading blob image

"Search by Image" extension One simple solution for downloading a blob image is to use the Search by Image extension by Armin Sebastian. Search by Image → Open Image will show the blob in a ...
hackerb9's user avatar
  • 1,127
5 votes

Can I make an auto-increment thingie in Notepad++?

Based on this Stack Overflow answer: Hold the Alt key and use your mouse to select the column of numbers that you wish to change. Choose Edit → Column Editor... ( Alt+C ). Select the Number to Insert ...
Anaksunaman's user avatar
  • 18.6k
5 votes

Link to a specific part of a webpage, if the author didn't create #named anchors within it?

It depends on the page if this is possible. The anchors are defined as ids within the source of a page. Even if the author did not provide links to sections, there might be some ids present at the ...
dirdi's user avatar
  • 3,365
5 votes

How to avoid big blinking cursor in the beginning and end of HTML table?

Solved: I found the issue. It has to do with the Accessibility features of Chrome. I tried this: Settings->Accessibility->Navigate pages with a text cursor It was enabled, and I disabled it and ...
Manoj Agarwal's user avatar
5 votes
Accepted

How to view math symbols at this url

What is it? MathML or embedded latex or something else? It's LaTeX embedded. Do I need an extension to view it? You shouldn't need anything, the server should do the rendering. Many markdown ...
gildux's user avatar
  • 302
5 votes
Accepted

How can I save a Reddit page for offline viewing in HTML format AFTER the user has manually interacted with the page that has a huge comment section?

TL;DR Use WebScrapBook ≥ 2.12.0 with options: NOT Style images: Save used, NOT Fonts: Save used, NOT Scripts: Save/Link. (Disclaimer: I am the developer of WebScrapBook) The root cause of the ...
Danny Lin's user avatar
  • 214
5 votes

How do I pass a parameter to a locally store web page from the context (right click) menu of Notepad++?

Not sure why file:\\ url's don't work, I get the same result. I was able to make it work using the following: <Command name="Example" Ctrl="no" Alt="yes" Shift="...
NickSlash's user avatar
  • 2,470

Only top scored, non community-wiki answers of a minimum length are eligible