Anyone else using Facebook Dark? I cant get it to work! :(

Soldato
Joined
17 Apr 2006
Posts
3,165
Location
3rd rock...
I've always liked black background with white text on websites and FB is like staring into an airplane landing light.

So I came across this:
http://userstyles.org/styles/1440/facebook-dark

I use Opera and saved this as user.js (JavaScript) but when I go to FB nothing happens! Ive restarted Opera and tried again but still no luck?! Can anyone help please :o

The user.js:

// ==UserScript==
// @name Facebook DARK
// @namespace http://userstyles.org
// @description An example of how to change the colors of a Facebook profile. If white text on a black background is your thing, then you'll be right at home.
// @author Vezquex
// @homepage http://userstyles.org/styles/1440
// @include http://facebook.com/*
// @include https://facebook.com/*
// @include http://*.facebook.com/*
// @include https://*.facebook.com/*
// @run-at document-start
// ==/UserScript==
(function() {
var css = "* {\n background-color: #000 !important;\n color: #fff !important;\n border-color: #112 !important;\n}\n\n.tagsWrapper *, #fbPhotoTheaterTags, .tagsWrapper, #fbPhotoTheaterStageActions, .fbQuestionsPollClickTarget, .fbPhotosPhotoTagboxes {background:transparent!important;}";
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
var node = document.createElement("style");
node.type = "text/css";
node.appendChild(document.createTextNode(css));
heads[0].appendChild(node);
}
}
})();

Thanks :)
 
You know you need stylish for userstyles?

Yeah youre right but I use Opera :(

And the author has said:

(Though installing Stylish is recommended, you can also install as plain CSS or install as user JS.)

I tried the .css as well but they dont seem to activate!

If you go on the site you see a dropdown box letting you select what browser you are on & then you download the relevant .js or .css
 
Also using Opera here, and the instructions are:
To use this style, install Firefox and Stylish.

(Though installing Stylish is recommended, you can also install as plain CSS or install as user JS.)

Also, using the user.js is rubbish. (Copy/paste it into the JS console to see what I mean)
 
Last edited:
Back
Top Bottom