Yes, that's right. That's no mistake. This blog post is going to cover modern scroll's version 2.4.3 (again).
but: it's for Chrome this time! …
Since Opera doesn't reveal any details about its upcoming version and modern scroll 2.4.3 works very reliably, I decided to bring its awesomeness to Chrome, too :up:
First, I'm gonna provide you with modern scroll (Chromium) beta 1 :yes:
in order to install it, save the file on your computer, open chrome://extensions/ and drag the file there
Now let's get into it 🙂
I've already done a pretty massive amount of work (Chrome doesn't make it easy to fulfill all of their restrictions), but I need some help:
- options page:
how do I localize it?
I've converted all localization files into Chrome's format (messages.json), but I don't know how to display them in the options page without inserting an extra tag for each string into it. Is there any nice way to do this, which – optimally – integrates strings during loading instead of being exchanged/inserted on completion?
I realized, that doing exactly what I wrote here (exchange on completion) doesn't harm in Chrome at all. In contrast to Opera, Chrome doesn't show the initial set of strings first :up:
How do I have to save settings within the options page to make them available to every website? I'm currently using localStorage which works fine for the options page itself, but it's not available outside of it :down:
I got it. It's pretty broken right now, but it's working. beta 2 will make settings affect all pages :up:
Although I figured out how to solve these two issues by myself, I'm still thankful for every piece of advice no matter if you fork my repo and fix stuff on your own or just post a link to a how-to-website. Everybody who is willing to give me a hand is very welcome to do so 🙂
Let's rock Chrome together! :yes: