Can you make a site use you're css instead of it's own?
Page 1 of 1
Karmeck




Posts: 3339
Location: Sweden
PostPosted: Sun, 7th Dec 2008 22:47    Post subject: Can you make a site use you're css instead of it's own?
Well, can I?

I edit a site in firebug but now I want the site to use the edited css file, can I do that?
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Sun, 7th Dec 2008 23:08    Post subject:
I recommend you look into the Greasemonkey and Stylish extensions, as they allow you to do just that.
Back to top
Lutzifer
Modzilla



Posts: 12740
Location: ____________________ **** vegan zombie **** GRRAAIIINNSS _______
PostPosted: Mon, 8th Dec 2008 00:00    Post subject:
iNatan wrote:
I recommend you look into the Greasemonkey and Stylish extensions, as they allow you to do just that.


+1
Back to top
Karmeck




Posts: 3339
Location: Sweden
PostPosted: Mon, 8th Dec 2008 00:04    Post subject:
Greasemonkey seem to waht i need thx.

Now how to use it, seem like this is what im suppose to do:
http://diveintogreasemonkey.org/patterns/add-css.html

Just don't get how, this is what I want added in to a site:

#pcg_site {
border-left:1px solid black;
border-right:1px solid black;
height:100%;
margin:0 auto;
width:10000px;

the site is: http://www.pcgamer.se/forum/


Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Mon, 8th Dec 2008 01:32    Post subject:
This is a great site to start with:
http://www.userscripts.org/

(and the Stylish parallel: http://www.userstyles.org/ )

Just get some of the scripts there and study their code.

BTW, are you sure you need Greasemonkey? Stylish is more suited for what you need.
Back to top
Karmeck




Posts: 3339
Location: Sweden
PostPosted: Mon, 8th Dec 2008 17:24    Post subject:
Indeed Stylish seem to be the thing from the scripts i have now tested.

This seem to be the style I need for pcgamer.se

http://userstyles.org/styles/79

Tried to edit in pcgamer instead of piratebay but seem to be harder then that.


Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group