B
baldo
Is it possible to hide a style sheet for all browsers?
baldo said:Is it possible to hide a style sheet for all browsers?
Is it possible to hide a style sheet for all browsers?
dorayme said:Broweroginsts
So how about telling us what you would really want to achieve?
I like to hide my extern linked style sheet to protect some codes...
If you wanted to ask how to include a style sheet on your web page and
not include it there, then even God cannot do that. This is not a
limitation of God's power; it follows from the fact that a logically
self-contradictory description of a state of affairs does not describe
any state of affairs.
Is it possible to hide a style sheet for all browsers?
baldo said:Is it possible to hide a style sheet for all browsers?
Gordon said:The usual response to this and to hiding the source of a web page is
that it can't be done. That may be true but I think you could
obfuscate it
<http://en.wikipedia.org/wiki/Obfuscation_(software)>. That would
protect your source from all but the most determined snoopers unless
they could use it unaltered.
Is it possible to hide a style sheet for all browsers?
Gus said:
Obfuscated, but not hidden:
Gus said:Many years ago this same question arose in Blooberry's chat which is no
longer there. In fact the Blooberry site itself is no longer maintained.
In any case, I submitted a similar page as a lark back then. It turned
out, to my surprise, that everyone was very confused and asked how I did
it (without the many tools available today, there was only Notepad back
then).
I now submitted this in the same spirit. I wonder if anyone nowadays
finds this initially surprising and confusing.
No special tools required. View source has always been there that I
recall since the first Netscape Navigator...I don't know about Mosaic, I
never used it.
Jonathan N. Little said:Obfuscated, but not hidden:
/* Hidden in plain sight */
article {
margin:auto;
font-size:100%;
width:50%;
background-color:#FFFF99;
color: red;
margin-top:10em;
padding: 0 .5em;
border:1px dashed #f00;
}
p {
text-align:center;
font-size:110%;
}
em {
color:blue;
}
#interrobang
{
Font-size:200%;
}
dorayme said:It's actually more complicated due to browser differences. On my
Safari, both yours and Richter's just shows up in View source. In
Firefox, Richter's does not but yours does.
There appears to be about 250 leading spaces in Gus's lines. When I view
source in his page with Firefox, the CSS wraps, so there is no hiding at
all. I didn't even notice the excess spacing the first time I looked, as
the CSS was right there in front of me...
Jonathan N. Little said:
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.