1.Open a Notepad
2. After opening the notepad, Put or paste the your C.S.S .extension code.
Paste the code below in the Notepad ( The C.S.S. below will hide Google Ads.)
- Code:
-
#googleAdPlacement { display:none!important; }
3. After placing the code in Notepad go to File and Save As.
4. After clicking "Save As" type your file name add a .css on it.
Example:
5. Save your file.
How To Host:
1) Go to a
File Host Site of your choice! Just open your web browser and go to
Google and type on the search bar "File Hosting Site", or you can go to
these site if you want.
Recommended:
http://www.badwaresite.wwwJust Register and Login.
2) After registering go to "My Files" and select "Upload files"
Example:
3) After selecting "Upload files" you will see a "Browse..." button. Click "Browse..." and select the .css file you saved, The click "Open" Button, Then click "Upload" Button.
Example:
After the load has finished press Click here to continue!
4) After pressing Click here to continue! check your file then get the Direct Link URL
Example:
The Direct Link:
http://h1.badwaresite.www/ftalkcssjs/wakoko.cssApply the direct on the code below. Replace the CSS URL with your .css file.
- Code:
-
var css = document.createElement("link");
function injectcss() {
if(window.cssinjected == undefined) {
cssinjected = 1;
var css = document.createElement("link");
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href"," [b]CSS URL[/b]");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
After replacing the CSS URL on the code. Your code must look like this:
- Code:
-
var css = document.createElement("link");
function injectcss() {
if(window.cssinjected == undefined) {
cssinjected = 1;
var css = document.createElement("link");
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","[b]http://h1.badwaresite.www/ftalkcssjs/wakoko.css[/b]");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
Copy the code and proceed to How To Make A .js File with CSS Injection. Tutorial below.