I’ve a Laravel view (hosted domestically on my machine by way of Herd) that accommodates about 1500 photos, every with some textual content. Photos are smaller, reduced-size thumbnails of authentic recordsdata; The thumbnails are saved within the Github venture folder (they take up about 150 MB in complete), however the authentic recordsdata (about 85 GB) usually are not.
Every thumbnail is a hyperlink to the unique file on disk: . The purpose is to have the ability to open the full-size picture in a brand new tab just by clicking the hyperlink. A lot of the authentic recordsdata are TIFF and since Chrome and Firefox don’t assist TIFF (the file is downloaded as an alternative of displayed), Safari is the one viable choice for what I would like.
By default, hovering over a hyperlink reveals the hand cursor and the vacation spot URL is proven within the small floating factor on the backside left, however clicking the hyperlink does nothing and there’s no Open choices within the context menu.
Disable cross-origin restrictions on Preferences > Developer > Safety does the Open Choices seem, however:
- So far as I can inform, this disables all restrictions between origins, for every file sort and request on every area – big safety danger I actually do not wish to take
- By proper clicking and selecting Open hyperlink in new tab now it really works, however simply clicking nonetheless does not work – it reloads the web page with a message saying: “This web page was reloaded as a result of an issue occurred” (undecided if it is a bug or one thing else).
So what I am in search of is one thing that permits me to:
- Enable hyperlinks to native recordsdata from net pages, however solely domestically hosted net pages (i.e. hosted on
localhost
both*.take a look at
) - Let me commonly click on on such hyperlinks and open the goal file.
Is that this at present doable in Safari?