Ask Different (Apple)
Q&A for power users of Apple hardware and software
Latest Questions
0
votes
3
answers
131
views
Download image from html Canvas element in macOS Safari?
Websites such as this one use the HTML canvas element to display images. https://digital.gonzaga.edu/digital/collection/p16011coll4/id/93/rec/5 The Safari Web Inspector's `Graphics` tab shows cut-up tiles of the image that can be saved independently. But doesn't give the full-res combined image. [ websites like this have a "download" link, but in this case it does not. Inspecting the source [shows a low-res image used in the preview thumbnail](https://digital.gonzaga.edu/digital/api/singleitem/image/p16011coll4/93/default.jpg) but the canvas appears to load a different, higher-resolution version of the image.
Ideally could be done from the macOS Safari Web Inspector. I would also be interested in any Safari Extensions that enable this functionality.
How can I get/export/download the full-resolution combined image being displayed by this canvas element?
Graphics
tab shows cut-up tiles of the image that can be saved independently. But doesn't give the full-res combined image.

pkamb
(9620 rep)
Jun 3, 2025, 06:40 AM
• Last activity: Aug 1, 2025, 05:05 PM
4
votes
2
answers
1898
views
Is there a way I can import ReadItLater's exported html file into my Instapaper?
Is there a way I can import my ReadItLater's exported html file into my Instapaper?
Is there a way I can import my ReadItLater's exported html file into my Instapaper?
John
(1668 rep)
Jul 10, 2011, 12:02 PM
• Last activity: Jan 21, 2025, 01:21 PM
0
votes
0
answers
120
views
Allowing HTTP links from localhost to local files in Safari
I have a Laravel view (hosted locally on my machine via Herd) that contains about 1,500 images, each with some text. The images are smaller, reduced-size thumbnails of original files; the thumbnails are stored in the Github project folder (taking up about 150 MB in total), but the original files (ab...
I have a Laravel view (hosted locally on my machine via Herd) that contains about 1,500 images, each with some text. The images are smaller, reduced-size thumbnails of original files; the thumbnails are stored in the Github project folder (taking up about 150 MB in total), but the original files (about 85 GB) are not.
Each thumbnail is a link to the original file on disk: ``. The objective is to be able to open the full-size image in a new tab simply by clicking the link. Most of the original files are TIFF, and since [Chrome and Firefox don’t support TIFF](https://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support) (the file is downloaded instead of displayed), Safari is the only viable option for what I want.
By default, the when hovering over a link, the hand cursor is shown and the target URL is displayed in the little hover element bottom left, but clicking the link does nothing, and there are no _Open_ options in the context menu.
Disabling cross-origin restrictions in _Preferences_ > _Developer_ > _Security_ makes the _Open_ options appear, but:
1. As far as I can tell, this disables **all** cross-origin restrictions, for **every** file and request type on every domain – massive security risk that I don’t really want to take
2. Right-clicking and choosing _Open link in new tab_ now works, but just clicking still doesn’t – it reloads the page with a message that, “This page was reloaded because a problem occurred” (not sure if this is a bug or due to something else).
So what I’m looking for is something that will allow me to:
- Allow links to local files from web pages, but _only_ locally hosted web pages (i.e., hosted under
localhost
or *.test
)
- Enable me to regular-click on such links and actually open the target file
**Is this currently possible in Safari?**
Janus Bahs Jacquet
(437 rep)
Nov 18, 2024, 06:44 PM
4
votes
1
answers
5039
views
Mp4 file not playing on Ipad/iPhone
I need to convert a bunch of mp4 files so they are playable on iPad. I already successfully encoded a mp4 file so it plays on all major browsers (IE, Firefox, Chrome, Safari) the mp4 file even plays on my Android 4.x device. The only 2 devices it won't play on are iPad and iPhone. I'm using Handbrak...
I need to convert a bunch of mp4 files so they are playable on iPad. I already successfully encoded a mp4 file so it plays on all major browsers (IE, Firefox, Chrome, Safari) the mp4 file even plays on my Android 4.x device.
The only 2 devices it won't play on are iPad and iPhone. I'm using Handbrake 4 to convert the files using the iPad/iPhone presets but it just won't work. Can someone explain to me why the file with the following characteristics wont work on all except iOS devics?
General
Complete name : chapter4.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 10.4 MiB
Duration : 2mn 56s
Overall bit rate mode : Variable
Overall bit rate : 492 Kbps
Movie name : Chapter 4
Performer : Acuity
Encoded date : UTC 2013-02-06 16:04:37
Tagged date : UTC 2013-02-06 16:06:28
Writing application : HandBrake 0.9.8 2012071700
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.0
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2mn 56s
Bit rate mode : Variable
Bit rate : 179 Kbps
Width : 720 pixels
Height : 400 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 30.000 fps
Minimum frame rate : 30.000 fps
Maximum frame rate : 30.030 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.021
Stream size : 3.76 MiB (36%)
Writing library : x264 core 120
Encoding settings : cabac=0 / ref=2 / deblock=1:0:0 / analyse=0x1:0x111 / me=umh / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=3 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2013-02-06 16:04:37
Tagged date : UTC 2013-02-06 16:06:28
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2mn 56s
Bit rate mode : Variable
Bit rate : 85.2 Kbps
Maximum bit rate : 191 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 1.80 MiB (17%)
Language : English
Encoded date : UTC 2013-02-06 16:04:37
Tagged date : UTC 2013-02-06 16:06:26
Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : ac-3
Duration : 2mn 56s
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 4.72 MiB (46%)
Language : English
Encoded date : UTC 2013-02-06 16:04:37
Tagged date : UTC 2013-02-06 16:06:26
To play the video I'm using a combination of flash and video tag. Using modernizr.js i'd figure out of the h264 standard is supported. And If it is the following tag is displayed:
When viewing on the iPad I can see it displays the html5 video tag but it displays as it cannot understand the file. Another file in the same application (ocean.mp4 from the video.js website) is playing correctly so I suspect it has something to do with the encoding..
jjtbsomhorst
(141 rep)
Feb 6, 2013, 04:47 PM
• Last activity: Oct 9, 2024, 12:14 PM
0
votes
0
answers
46
views
Export copy-paste-able HTML from keynote
When I export a Keynote presentation to HTML, none of the text or code is copy/paste-able (I think it is rendered to an HTML5 canvas?)... Is there a way to export so that it behaves like normal HTML (highlighted-able, copy/paste-able, clickable-links, translatable, etc.) ? The big picture: I need to...
When I export a Keynote presentation to HTML, none of the text or code is copy/paste-able (I think it is rendered to an HTML5 canvas?)... Is there a way to export so that it behaves like normal HTML (highlighted-able, copy/paste-able, clickable-links, translatable, etc.) ?
The big picture: I need to output Keynote presentations in _some_ way that students can copy/paste code from the presentation, and also translate slides if needed, preferably without having to download the entire thing, and upload it to a translation 'service'.
I'm current using Keynote 14.2, thanks
rednoyz
(101 rep)
Sep 21, 2024, 04:14 PM
13
votes
9
answers
206382
views
Can I save an HTML file to my iPhone and open in Safari?
Does anyone know if its possible to save an HTML file to your iphone and then open it with Safari so that you can then favourite it and have it appear on the launcher as an icon?
Does anyone know if its possible to save an HTML file to your iphone and then open it with Safari so that you can then favourite it and have it appear on the launcher as an icon?
kiasecto
Jan 31, 2012, 10:46 PM
• Last activity: Aug 19, 2024, 09:57 AM
2
votes
1
answers
585
views
Import a .HTML file as email signature in Apple Mail
We have email signatures as .html file (containing embedded images in base64). We can import these files easily, for example, in Thunberbird, with *"Attach the signature from a file instead"*, and then we choose the .html file: it works. **How to use this .html file as signature in Apple Mail?** I a...
We have email signatures as .html file (containing embedded images in base64).
We can import these files easily, for example, in Thunberbird, with *"Attach the signature from a file instead"*, and then we choose the .html file: it works.
**How to use this .html file as signature in Apple Mail?**
I already tried this:
* open the .html file in browser
* CMD + C
* go in Apple Mail App, create a new Signature
* CMD + V
Problem : only the text is pasted, no HTML rendering is applied. No image is pasted.
Basj
(183 rep)
Feb 14, 2024, 04:32 PM
• Last activity: Jun 4, 2024, 10:41 AM
11
votes
4
answers
6037
views
Can man pages be converted to html and/or pdf format?
The command `man bash` produces a lot of output. What I desire would be to either search the results or print the results to paper. So, is there a way to convert a man page to a html and/or pdf document. I would prefer the answer work for not only `man bash`, but rather for any man page. I know the...
The command
man bash
produces a lot of output. What I desire would be to either search the results or print the results to paper. So, is there a way to convert a man page to a html and/or pdf document.
I would prefer the answer work for not only man bash
, but rather for any man page.
I know the output from man bash
has been posted on the internet, but usually these posts are not current.
David Anderson
(42621 rep)
Feb 13, 2018, 01:53 PM
• Last activity: May 26, 2024, 12:49 PM
8
votes
3
answers
29791
views
Converting HTML to PDF using convert utility in Mac OS X
I'm trying to convert a bunch of HTML files into PDF files. I'm looking for an automated solution so that i don't have to open each HTML file individually and convert it to PDF. In Mac OSX, `convert` utility can be used to convert HTML files to PDF. I'm facing two problems. 1. `convert` utility is n...
I'm trying to convert a bunch of HTML files into PDF files. I'm looking for an automated solution so that i don't have to open each HTML file individually and convert it to PDF. In Mac OSX,
convert
utility can be used to convert HTML files to PDF. I'm facing two problems.
1. convert
utility is not applying CSS style to generated PDF content.
2. My AppleScript for batch convert is not working.
Here's my AppleScript:
on open input_documents
repeat with this_document in input_documents
if this_document is not document file then
set this_document_path to POSIX path of this_document
do shell script "/System/Library/Printers/Libraries/convert -f " & quoted form of this_document_path & " -o " & quoted form of this_document_path & ".pdf"
end if
end repeat
end open
I use this script to create a .app and then drag the documents folder onto the generated .app file. Note that all images associated with images are placed in a subdirectory/subfolder. My document structure looks like this:
/HTML
/HTML/Images/
/HTML/a.html
/HTML/b.html
Any suggestions?
Mustafa
(183 rep)
May 9, 2011, 05:15 AM
• Last activity: Feb 20, 2024, 02:23 PM
1
votes
1
answers
7172
views
Ways for iPhone and iPad to save webpage as a single HTML file?
I’ve been using my MacBook to save the posts from a blog I’ve been reading, and I’ve been doing that by using a plug-in on Firefox that can save the entire webpage into a single HTML page with all the things embedded in the file. **Can an iPhone or iPad do the same thing?** I know that Safari and so...
I’ve been using my MacBook to save the posts from a blog I’ve been reading, and I’ve been doing that by using a plug-in on Firefox that can save the entire webpage into a single HTML page with all the things embedded in the file. **Can an iPhone or iPad do the same thing?**
I know that Safari and some other apps can save the entire webpage into a PDF, but is it possible to save it into a single HTML file? Anyone knows any app or plug-in can do?
Greatly appreciate anyone that could help🤗🙏
Dr_Clairvoyant
(51 rep)
May 11, 2023, 04:08 PM
• Last activity: Feb 5, 2024, 10:06 PM
2
votes
1
answers
487
views
Can I get help on an issue where unexpected/illegible characters render in Safari on some HTML pages?
I am faced with a strange problem: On some websites, I have illegible characters and if I copy/paste the text into Google Translate or an editor like vim, the text appears normally in English. Here an example on the page: ["The Alternate View" columns of John G. Cramer][1] This is what I am seeing b...
I am faced with a strange problem: On some websites, I have illegible characters and if I copy/paste the text into Google Translate or an editor like vim, the text appears normally in English.
Here an example on the page: "The Alternate View" columns of John G. Cramer
This is what I am seeing below:
![Illegible characters ][2]
If I copy/paste the first paragraph into an editor, then I get :
> If you could halt the expansion of the universe and then travel
> outward in a straight line, would you eventually come back to the
> place where you started? In other words, are all straight-line paths
> in the universe closed circles? Or as Euclid would have put it, if
> you project two precisely parallel light beams out into empty space,
> do they ever cross? A recent analysis of the angular structure and
> lensing of the cosmic microwave background radiation, as measured by
> the European Space Agency's Planck Mission, suggests that the answer
> to these questions is "Yes". We will start by considering the
> curvature of space as represented in general relativity (GR).
I don't understand where this issue could come from. Even by trying with a different VPN, the issue remains.
I have also these same unrecognizable characters that represent normal text content on some gmail emails.
Is there a way to fix/troubleshoot this on macOS?
guizmo133
(53 rep)
Jun 2, 2023, 03:17 PM
• Last activity: Jun 2, 2023, 05:57 PM
1
votes
1
answers
93
views
What causes the "file" command to report a JavaScript file as "HTML document text"?
I downloaded a JavaScript document, but it fails to load in my webpage, stating that the mimetype of "" is not acceptable. When I use the file(1) command on the JavaScript file, it tells me that the file is "HTML document text". The file looks roughly like this: /* some boring attribution, etc. */ $...
I downloaded a JavaScript document, but it fails to load in my webpage, stating that the mimetype of "" is not acceptable. When I use the file(1) command on the JavaScript file, it tells me that the file is "HTML document text". The file looks roughly like this:
/*
some boring attribution, etc.
*/
$(function($) {
a lot of javascript, including a few lines that add HTML to the page, such as
_base.append('');
}(jQuery));
I know the file command uses various patterns to make its determination, I'm just wondering what it is that is triggering its decision.
user3481644
(148 rep)
Jan 24, 2022, 04:23 PM
• Last activity: Apr 25, 2023, 08:04 PM
5
votes
1
answers
6848
views
How Can I view My local/offline Html file on Ipad
I have My HTML file saved in many locations on IPAD to try to launch it. 1. **In files.** When i click on the html file, it shows a preview ( with an empty white page) since this step is not calling any links (js, css, etc) i tried to tap and hold to see if i can open it with safari also no luck, an...
I have My HTML file saved in many locations on IPAD to try to launch it.
1. **In files.** When i click on the html file, it shows a preview ( with an empty white page) since this step is not calling any links (js, css, etc) i tried to tap and hold to see if i can open it with safari also no luck, and i did some research about it. It says that you can not open html with safari or any other browser on ipad cause it will not call the links in the folder.
2. I tried to open it in **dropbox** also. Again it shows a white empty page.
3. I tried to launch it directly after downloading the file from we transfer (i sent it to myself) also no option to launch it. It only gives me the option to save it.
4. I used to save it to files, icloud or dropbox. I previously downloaded an app called **documents by readdle**. Locate the file. When i used to click on it, it used to work perfectly fine. Within the app itself. No browser needed. But suddenly after updating the app all the html folders i have stopped working.
5. I also tried **documents pro app**: no luck
6. **goodreader app**: it opens the file but freezes and the app stops responding after.
7. I also didn’t find a way from **safari to locate a specific file and open i**t.
> so i reached the i “give up” phase. And i am searching for help 😅
Renatta Azzam Diab
(51 rep)
Oct 8, 2019, 07:14 PM
• Last activity: Apr 19, 2023, 12:05 PM
2
votes
3
answers
481
views
What's the easy way to convert all man pages to html?
Sixteen years into the 21st century I remain baffled that we still have to go out of our way if we want to see a man page - rendered in a proportional font (that is, not Courier or similar) - with links to other referenced pages There are tantalizing web sites with HTML man pages that have links, li...
Sixteen years into the 21st century I remain baffled that we still have to go out of our way if we want to see a man page
- rendered in a proportional font (that is, not Courier or similar)
- with links to other referenced pages
There are tantalizing web sites with HTML man pages that have links, like this , but I haven't found such a site with pages updated for the current version of macOS. And of course a web site won't show man pages for software you've installed via Homebrew, etc.
Is there a solution to this problem? I've looked and looked. This
function manp {
man -t "$1" | open -f -a /Applications/Preview.app/
}
renders a page and shows it in Preview (after you wait for a PostScript interpreter to convert it to PDF), but you don't get live links.
The man page for man says:
> ### HTML PAGES
>
> Man will find HTML pages if they live in directories named as expected to be ".html", thus a valid name for an HTML version of the ls(1) man page would be /usr/share/man/htmlman1/ls.1.html.
I could write a script to convert all of the man pages everywhere on my system to HTML, but I bet someone has already done this. And I bet they have also solved the problem of rendering SEE ALSO references as links, which the man command apparently doesn't do.
daveyost
(49 rep)
Dec 15, 2016, 02:16 AM
• Last activity: Feb 18, 2023, 06:42 PM
1
votes
2
answers
3911
views
Is it possible to host my public apple calendar on my website?
I have a public apple calendar that I'd like to make viewable (read-only) on my website so that visitors can see my schedule. I believe this can be done with a google calendar but I'm not having luck finding ways to do this with an apple calendar. Even if there isn't built-in functionality, I'd stil...
I have a public apple calendar that I'd like to make viewable (read-only) on my website so that visitors can see my schedule. I believe this can be done with a google calendar but I'm not having luck finding ways to do this with an apple calendar.
Even if there isn't built-in functionality, I'd still be happy with janky ad-hoc solutions. For example, one thing which I half-considered before turning to stackexchange would be to see if an always-on computer could periodically scrape the calendar off my icloud account and somehow convert it to html and automatically update my website. I think that's a last-resort sort of approach though. (That said, if it's basically the only way this would work, I'm happy to hear suggestions on how to go about it, but I'd of course prefer if there's a more elegant or intentionally designed way.) At minimum, I'd like visitors to be able to see when I have appointments; location and event name would be nice but not strictly necessary.
---
**Update:** I have attempted to incorporate @Riley4067440653's answer, but as I mentioned in a comment I do not think it works as a permanent solution. Edits made to the apple calendar are not passing to the google calendar in a timely manner; changes made to the apple calendar over 12 hours ago are still not appearing on the google calendar.
My understanding is that importing into the google calendar is a one-time process, and edits made to the apple calendar will *never* appear on the google calendar; I may be mistaken on that front, but regardless I do need edits to appear more promptly than 12+ hours later, so this solution doesn't work well for me.
If there is a way to automatically propagate changes made to the apple calendar onto the google calendar, then @Riley4067440653's solution will work for me. Again, perhaps this can be done ad-hoc -- if so I would appreciate some advice on how to deploy it -- but I'd prefer intentionally designed solutions if possible. If there is no way to automatically propagate changes, then I am still in need of a solution to this problem.
Also, to incorporate some comments with @nohillside into the body of this post:
* I am seeking a solution that does not require me to switch off of apple calendar (for which it was clarified that the app "Fantastical" does not, but it's not clear to me how that app solves my problem),
* I want visitors to the website to see my schedule, not my availability,
* I want the website calendar to be read-only; visitors are *not* using it to schedule my free time with me, and
* I want the website calendar to be either directly on my website or embedded (in like an iframe); I do not want to give visitors a link to an external site or require them to use/download a program.
Eric
(143 rep)
Aug 4, 2022, 05:17 PM
• Last activity: Jan 1, 2023, 03:49 PM
1
votes
0
answers
66
views
Can Spotlight index HTML files on Mojave?
Spotlight doesn't index HTML files on my machine. In the prefpane there's no option for webpages or .htm or .html file extensions. Google can't find a plugin for these files. I have 36,703 such files I need to index the content of. Help! Thank you.
Spotlight doesn't index HTML files on my machine. In the prefpane there's no option for webpages or .htm or .html file extensions. Google can't find a plugin for these files. I have 36,703 such files I need to index the content of. Help! Thank you.
jrethorst
(31 rep)
Dec 21, 2022, 02:05 AM
7
votes
8
answers
6158
views
Any free software for writing HTML?
I've written some Objective-C in Xcode before, but I can't find any free software for writing HTML! I need to create a small website for an online course I'm taking, and figured that HTML is the way to go. Thank you for your help!
I've written some Objective-C in Xcode before, but I can't find any free software for writing HTML! I need to create a small website for an online course I'm taking, and figured that HTML is the way to go. Thank you for your help!
user17805
Jun 18, 2012, 12:41 AM
• Last activity: Dec 12, 2022, 08:00 AM
3
votes
5
answers
1962
views
HTML5/CSS3 text editor for OS X?
I am looking for a text editor that supports HTML5 and CSS3, allowing you to add/edit new properties, like rounded corners and so. It doesn't have to be a visual editor but **it has to have support for CSS3** and other new stuff like rounded corners.
I am looking for a text editor that supports HTML5 and CSS3, allowing you to add/edit new properties, like rounded corners and so.
It doesn't have to be a visual editor but **it has to have support for CSS3** and other new stuff like rounded corners.
sorin
(31160 rep)
May 25, 2011, 08:15 AM
• Last activity: Dec 12, 2022, 08:00 AM
0
votes
2
answers
1487
views
Edit HTML signature in Mail 16.0 on MacOS Monterey 12.4
Since a few day, my HTML signature are gone on _Mail_. I used to edit manually the `*.mailsignature` files located in the `~/Library/Mail/V9/MailData/Signatures/` folder and locking them to prevent _Mail_ to override them. Unfortunately, since the last update, I can't select it with the combo box: [...
Since a few day, my HTML signature are gone on _Mail_. I used to edit manually the
Note that I can't select a signature created manually either.
*.mailsignature
files located in the ~/Library/Mail/V9/MailData/Signatures/
folder and locking them to prevent _Mail_ to override them.
Unfortunately, since the last update, I can't select it with the combo box:

Martin Delille
(795 rep)
Jul 28, 2022, 08:07 AM
• Last activity: Dec 9, 2022, 10:13 AM
13
votes
5
answers
129925
views
View local HTML files using web browser on iPad
Using a web browser (e.g., Safari, Chrome, etc.) can I view html pages that are stored locally on the iPad? The pages should render properly and execute Javascript/CSS properly.
Using a web browser (e.g., Safari, Chrome, etc.) can I view html pages that are stored locally on the iPad? The pages should render properly and execute Javascript/CSS properly.
Mark
(131 rep)
May 15, 2013, 06:26 AM
• Last activity: Oct 28, 2022, 11:50 AM
Showing page 1 of 20 total questions