Score of 53
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 ...
Score of 31
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 ...
Score of 24
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
Score of 19
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
...
Score of 18
18
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.
Score of 15
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 ...
Score of 13
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 ...
Score of 11
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 ...
Score of 11
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 ...
Score of 11
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....
Score of 10
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 ...
Score of 10
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 ...
Score of 9
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 ...
Score of 8
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 ...
Score of 7
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 ...
Score of 6
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 ...
Score of 6
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"]
Score of 6
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 ...
Score of 6
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 ...
Score of 5
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
Score of 5
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 ...
Score of 5
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 ...
Score of 5
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 ...
Score of 5
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 ...
Score of 5
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 ...
Score of 5
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 ...
Score of 5
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 ...
Score of 5
5
votes
How do I pass a parameter to a locally stored 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="...
Score of 4
4
votes
How to select all content include bullet and numbering?
Another easy solution: Open the google document, and press Ctrl-P. This will open the "PRINT PREVIEW" using your mouse, select and copy the text in the PREVIEW window. Paste it into your ...
Score of 4
4
votes
HTML to UNFORMATTED plain text?
As mentioned by Gombai Sándor, in a comment to NZD's answer:
lynx -dump -nolist -nomargins
When run from the command-line with a URL, it writes the output to stdout. This seems to work very well. -...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
html × 1130css × 109
google-chrome × 92
javascript × 86
firefox × 84
browser × 80
microsoft-word × 61
email × 58
pdf × 53
linux × 45
notepad++ × 44
website × 42
conversion × 39
php × 36
windows × 35
microsoft-excel × 34
internet-explorer × 31
macos × 29
web × 28
microsoft-outlook × 24
images × 24
regex × 23
vim × 21
webpage × 20
bash × 18