Colors in JavaScript console

Can Chrome’s built-in JavaScript console display colors? I want errors in red, warnings in orange and console.log‘s in green. Is that possible? 29 s 29 In Chrome & Firefox (+31) you can add CSS in console.log messages: console.log(‘%c Oh my heavens! ‘, ‘background: #222; color: #bada55’); The same can be applied for adding multiple CSS … Read more

How do I get ASP.NET Web API to return JSON instead of XML using Chrome?

This question’s answers are a community effort. Edit existing answers to improve this post. It is not currently accepting new answers or interactions. Using the newer ASP.NET Web API, in Chrome I am seeing XML – how can I change it to request JSON so I can view it in the browser? I do believe … Read more

How to manually send HTTP POST requests from Firefox or Chrome browser

I want to test some URLs in a web application I’m working on. For that I would like to manually create HTTP POST requests (meaning I can add whatever parameters I like). Is there any functionality in Chrome and/or Firefox that I’m missing? 1 17 I have been making a Chrome app called Postman for … Read more

Getting Chrome to accept self-signed localhost certificate

I have created a self-signed SSL certificate for the localhost CN. Firefox accepts this certificate after initially complaining about it, as expected. Chrome and IE, however, refuse to accept it, even after adding the certificate to the system certificate store under Trusted Roots. Even though the certificate is listed as correctly installed when I click … Read more

Hide scroll bar, but while still being able to scroll

I want to be able to scroll through the whole page, but without the scrollbar being shown. In Google Chrome it’s: ::-webkit-scrollbar { display: none; } But Mozilla Firefox and Internet Explorer don’t seem to work like that. I also tried this in CSS: overflow: hidden; That does hide the scrollbar, but I can’t scroll … Read more

How to remove focus border (outline) around text/input boxes? (Chrome) [duplicate]

This question already has answers here: How to remove the border highlight on an input text element (20 answers) Closed 6 years ago. Can anyone explain how to remove the orange or blue border (outline) around text/input boxes? I think it only happens on Chrome to show that the input box is active. Here’s the … Read more