Discussions isn't part of the wiki, so CSS and JS isn't included there. If you want to apply any JS/CSS for yourself you'll need to use a browser extension. As for other pages, it depends on the page. Special:Preferences for example doesn't load JS/CSS so that you're able to disable your JS/CSS if something goes wrong.