Customising your Speed Dial thumbs
-
@An_dz said in Customising your Speed Dial thumbs:
How to Open the DB
When you open the file open the second tab (Browse Data), and in the dropdown labelled Table choose thumbnails.
As long as you are in the Browse Data tab and chose the thumbnails table you can find it in the filter boxes that show under each column.
-
My previous post seems to have had a segment of it deleted somehow, probably during the forum switch to nodeBB.
Below is an edited version, since I can't edit the original now.
I thought of a simple alternative for people who don't want to bother with the DB. You can just set a data URL intermediate page showing the desired image for a split second.
You can set a speed dial bookmark (via the bookmark manager or the bookmark panel, but don't try it via the speed dial "+"-to-add-an-entry, because that route adds an erroneous "http://" to the data URL address):
.
data:text/html;charset=utf-8,<html><head><meta http-equiv="refresh" content="0.3; url=some_destination_URL"><style>img, svg {margin-top:20%; -webkit-animation-name: fade;-webkit-animation-delay: 0.2s;-webkit-animation-duration: 0.4s;-webkit-animation-iteration-count: 1;-webkit-animation-fill-mode: forwards;}@-webkit-keyframes fade {from {opacity:1;}to{opacity:0;}}</style></head><body> some IMG or SVG tag </body></html>
.
replacing the bold parts with values to suit the image and destination you want.
.
Note: I don't think decimal points were originally standard* for meta refresh times, but it works in Vivaldi (and several other browsers I've tried). Having it non-zero lets Vivaldi grab a shot of the data-url-generated page. You'll see a flash of the logo for a fraction of a second, however, after clicking on the SD entry.
.
This speed dial method has the good property that If you happen to hit refresh while on Speed Dial page, your setting won't be lost by Vivaldi refetching from the bookmarked site.
.
Downsides: Because this takes a static, flat snapshot of the data URL page, animated GIFS or transparency won't work. And like I said, you'll see a flash of the logo before being taken to the desired page.__________________
*Not that there really seems to be any clear official standard, curiously. "meta http-equiv=" simulates HTTP response headers, and despite decades of common use, a "refresh" header was apparently never actually specified in any official HTTP standards, although pretty much every browser obeys it. It was apparently invented by Netscape, and other browsers followed suit, but it apparently never actually got into an official spec. -
@An_dz Please fix your post. Right now, there is no line breaks and a bunch of garbage code that is making it very difficult to read.
-
@rocketinventor
Done, and updated info to latest version of DB Browser. -