ArticleslgStudy

computer science

Stylish (software)

Stylish (software) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Stylish (software) rather than just read about it. In short: Stylish is a user style manager that can change the appearance of web pages in a user's browser without changing their content by including user-supplied CSS style sheets with those supplied by the web site itself. The Stylish browser extension includes tools with which to write user styles, and can install user styles written by other Stylish users from a companion website.

Stylish (software) — main illustration
Stylish (software) — illustration

Key takeaways

  • Stylish (software) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Stylish (software) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Stylish (software) from memory before moving on to harder problems.

Reference excerpt

Stylish is a user style manager that can change the appearance of web pages in a user's browser without changing their content by including user-supplied CSS style sheets with those supplied by the web site itself. The Stylish browser extension includes tools with which to write user styles, and can install user styles written by other Stylish users from a companion website. These user styles may be more or less selective, targeting just one web page, or all of the pages on a domain, or every page on the web. Stylish was originally developed by Jason Barnabe as an XUL/XPCOM add-on for Mozilla Firefox. A Chrome extension followed in 2010, which was released for Blink-based Opera 15 in 2013 and as a Firefox WebExtension in 2017. Similar extensions for Safari and for Presto-based Opera are distributed as 'Stylish' by other developers with Barnabe's approval.

Technical details User styles are CSS code designed to alter the appearance of one, some, or all sites. Stylish for Firefox can additionally style the skin of the browser itself, but the Android version does not support this because the user interface is built in native Android code. The styles are applied only to the targets specified. Individual user styles can be enabled or disabled without having to restart the browser. User styles are added to the CSS rules provided by the site, but can also override the site's styling (often requiring the !important keyword for each replacement rule). The most common uses are ad blocking, applying a new color scheme, and eliminating unwanted page elements. There are three classes of user styles. Site styles change the appearance of a particular web site. Global styles change the appearance of all web sites. App styles change the appearance of the Firefox user interface, only supported on Firefox. It is similar to the userChrome.css CSS file used by Firefox and Mozilla-based browsers.

Privacy issues In September 2016 Jason Barnabe, the creator of Stylish and userstyles.org, announced that, having lost interest in the project, he had "chosen Justin Hindman as the next leader of Stylish and userstyles.org." Hindman had no prior connection to either Stylish or userstyles.org, and it soon became clear that Barnabe had simply sold them to Hindman in a straw purchase for Israeli analytics company SimilarWeb. In December 2016 Hindman began releasing updates to Stylish for Chrome which returned a perfect replica of the user's browsing activity to Userstyles. On 3 January 2017 he announced a "partnership" with SimilarWeb in which "Stylish users [would] be joining SimilarWeb’s market research panel.". A Firefox web extension (3.0.1) was released on 10 November, after a final update (2.1.1) to the Stylish XUL+XPCOM add-on on 31 October to migrate user styles to a webextension-compatible database. In July 2018, after these issues were publicized by a software engineer, Stylish was pulled from both the Chrome Web Store and Mozilla Add-ons, as well as being automatically uninstalled for all existing users. Stylish returned to Mozilla Add-ons on 16 August and to the Chrome Web Store on 5 November with the same logic but sporting a new opt-in page asking users to agree to the data collection when the extension was installed. Firefox now reports fewer users of Stylish than its more popular alternative, Stylus.

Alternatives to Stylish A userscript manager such as Greasemonkey or Tampermonkey can add a local style sheet to a web page by adding the style sheet content to an HTML <style> tag and adding the tag to the page. User styles from Userstyles.org can be downloaded as user scripts for use with a userscript manager. Ad blockers such as UBlock Origin allow user-definable filters that can modify sites' CSS. Alternative user style managers include Stylus and xStyle, which are derived from Stylish for Chrome, aStyle, reStyle, and Website Theme Manager. In Firefox, user styles for web sites and browser chrome can be added to local files userContent.css or userChrome.css, respectively. As of Firefox 69, user must switch the toolkit.legacyUserProfileCustomizations.stylesheets preference to true in about:config in order to load these files.

See also Browser extension Stylus (browser extension)

References

External links Official website

Illustrations

Stylish (software) illustration
Stylish (software) illustration

Worked examples

Example 1 — a first encounter with Stylish (software)

Start with the simplest possible case. Write down what Stylish (software) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Stylish (software) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Stylish (software) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Stylish (software)

In research
Stylish (software) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Stylish (software) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Stylish (software) is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2005 software, Cascading Style Sheets, Free Firefox WebExtensions, so understanding it makes those chapters shorter.
In everyday life
Look for Stylish (software) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Stylish (software)” →

How to study Stylish (software) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Stylish (software) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Stylish (software) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Stylish (software) in simple terms?

Stylish is a user style manager that can change the appearance of web pages in a user's browser without changing their content by including user-supplied CSS style sheets with those supplied by the web site itself. The Stylish browser extension includes tools with which to write user styles, and ca…

Why does Stylish (software) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Stylish (software)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Stylish (software).

Tags

  • 2005 software
  • Cascading Style Sheets
  • Free Firefox WebExtensions
  • Google Chrome extensions

Keep exploring