|Just another Perl shrine|
PM Stylesheet on local filesystem? WORKS!by roboticus (Chancellor)
|on Nov 17, 2010 at 23:29 UTC||Need Help??|
UPDATE: I finally figured it out (or rather, after sufficient googling, experimenting and such, I stumbled across Links to Local Pages Don't Work). Here's the deal: I'm using Firefox and NoScript. It turns out that the file: URI scheme is blocked as a security measure, to prevent rogue pages from executing local files on your computer. So, to make it work, I just do this:
So if you're using FireFox and NoScript and want to do it, that's how. (For FF 3.5.15 and NoScript 220.127.116.11 anyway.) The same page also gave several other possible remedies, so give the page a look if you're having troubles.
Hello, fellow Monks:
After the recent thread on updating the site, I thought I'd teach myself something about style sheets and such. So on the Display Settings screen, I tried to set the Link to External CSS stylesheet: to "file:///C:/Work/DATA/PM.css", and it didn't work. I didn't expect that it would, really, as the help screen explicitly mentions that it should be a link to another webserver. I had the hope that the docs were a little overly restrictive.
Anyway, short of putting a web server together, or glomming some space on one somewhere, is there a way to get the style sheet from my local machine? A bit of googling didn't help much, as I couldn't think of any useful terms. (I tried perlmonks style sheet "file:///", perlmonks style sheet "client filesystem" and a few other searches, but can't find anything useful.
I guess I'm really looking for a pointer to a way to do it, or a definitive "give up!" message. (In the event of the latter, I guess I'll have to find a web server I can access from work...)
Thanks in advance!
Update: I should clarify it a bit. By "didn't work" I mean that when I tweaked some junk in my stylesheet, I couldn't detect any differences on the screen. However, as I haven't started learning them, I could've simply done something wrong. So a whack with a cluestick would be appreciated if that's my problem.