Is that true? My firefox does, and I am really happy about it. Because it would totally destroy my idea. I can understand that Javascript is not allowed to modify local files, but evaluating local js?
I’m not sure that’s true. At least, I don’t have a problem running local .js called from local files.
It seems it depends on how you link your JavaScript, see http://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
My Linux dev environment is pretty locked down as well, so I guess that could be it too. Either way, I’ve always used a webserver in front of the pages I’m serving when developing, because that’s how they’ll be served when I publish them.
Don’t get me wrong, I do the same thing for all my live sites as well - but in this case it’s just local javascript in a local html file (technically it is the same origin, right?).
Also - I’m going ot move the pixls github stuff over to gitlab. Do you have an account there? If so I’ll add you to the group there.
You could avoid all together if you put the js in the HTML file instead of just linking it. I’ve tried at work to go without a webserver as well, but it never seems to work right. I can chalk it up to just a “me” problem, I have lots of those
No gitlab account, but I’ve been meaning to make one. This is probably the push I need to actually do it. So long as we are on the freedom wagon, what about google analytics? I’m already blocking it from loading on my desktop, but I’d certainly unblock piwik. I’ve heard mention that one of the main piwik contributors provides free piwik hosting to free software projects, but I’ve yet to find out who this is, exactly.
Ahh, I see. I misunderstood when you said you’d like to narrate. Also yes, toddlers make everything impossible. I started this response this morning when I thought I would have some time to deliver a well thought out and organized response. You can guess what happened.
Anyway, I came across this simple slider the other day and just started looking into it:
http://slideme.luigiferraresi.it/
You can just run piwik on your own server, no external hosting needed.
Unfortunately I did not have much time to work on this recently, but it still has high priority on my agenda. Unexpectedly, there was a useful hint on the darktable dev mailing list recently (many thanks, Joel Brunetti), revealing the projects GitHub - Jack000/Expose: A simple static site generator for photoessays and GitHub - Rouslan/PyExpose: generates a python extension by inspecting your C++ classes and functions, with fine-grained control and without any unnecessary overhead. While I did not check the latter one, the first one already gives promising results. It’s a gallery generator that allows for text overlays on images. Example galleries can be found here and here. It is not exactly what I am searching for but it comes close, I just don’t like that you get a big page and you have to scroll through the pictures. Even more helpful is the third example here, that yields something closer to adobe slate’s results. The html side uses some remote ajax (jquery IIRC), but it can be replaced by a local copy.
I hope to get more time to work on this soon, but I am relocating soon and a lot of crates have to be packed. Therefore, in the meantime I wanted to share the links.