miketempleton asks
17 years ago
can you view the CSS for a person's custom profile page by digging through the source code?
latest #28
pritcharddesign
17 years ago
doesn't look like it
KDFrawg 🐸 says
17 years ago
Nope, it soesn't look like it.
martinbogo
17 years ago
yes you can!
立即下載
martinbogo
17 years ago
It's in a block of four elements
martinbogo
17 years ago
which point to the CSS itself
martinbogo
17 years ago
so you have to do it with two steps of redirection
martinbogo
17 years ago
<link rel="stylesheet" type="text/css" href="/generated/greybox.css?f1d98a0c1290768" />
martinbogo
17 years ago
etc..
KDFrawg 🐸 says
17 years ago
Yup, that works. Good job, MartinBogo.
martinbogo
17 years ago
although it gives you WAY too much of the code
martinbogo
17 years ago
more than you need to actually render the page, anyway
martinbogo
17 years ago
*bow*
martinbogo is
17 years ago
still working on his plurkpop.app .. I'm stuck writing some throttling code.
martinbogo
17 years ago
which is -always- harder than it seems
pritcharddesign
17 years ago
eeek (g_worship)
miketempleton
17 years ago
I'm fairly familiar with source code, so if I locate the stylesheet, I can then get at their custom CSS?
martinbogo
17 years ago
yep
martinbogo
17 years ago
you could in theory overload your CSS
miketempleton
17 years ago
overload the CSS?
martinbogo
17 years ago
yes, as in redefine an element that's already been defined earlier
martinbogo
17 years ago
#element.p { attributes; more attributes; }
miketempleton
17 years ago
Ah, I see. I was just wondering in case I see a trick someone is using and want to use it myself as well.
leonniefm
17 years ago
ehehehe.. I open the source code & don't understand a thing.. well, only some lines. I rather just ask for the CSS from that some1 :-D
leonniefm
17 years ago
& then make some adjustment myself. Hope s/he won't mind me asking :-D I shared my simple CSS on my tumblr. Haven't got any complicated yet
Avatar X
17 years ago
if you run firefox js view extension you can see all the js and css files. the custom css says customcss
back to top