Content deleted Content added
m Reverted edits by 94.202.250.8 (talk): unexplained content removal (HG) (3.4.12) |
|||
(18 intermediate revisions by 10 users not shown) | |||
Line 1:
{{Short description|Wikipedia help page}}
{{Wikipedia how to|HELP:NOSEE|HELP:NOIMAGE}}
Some
▲Some people do not wish to see some images on Wikipedia for various reasons – images may not be [[NSFW|suitable for a work environment]]; they may wish to [[Wikipedia:Advice for parents|prevent their children from seeing such images]]; their religion may forbid it; and so on.
[[Wikipedia:Wikipedia is
However, readers who wish to prevent certain images from displaying have options to customize their experience.
This page is more suitable for you if:
Line 12:
Wikipedia readers can influence how Wikipedia content is displayed on their screens in two ways:
#By [[Wikipedia:Creating an account|creating an account]] and reading Wikipedia while logged in. Logged-in users can use personal [[Help:Cascading Style Sheets|Cascading Style Sheets]] (CSS) to display images selectively.
#By filtering content locally, either by configuring their [[web browser]] (including the possibility to display no images at all), or by setting up a [[proxy server|proxy]] (such as [[Privoxy]]).
==Wikipedia user preferences==
Line 20:
To create an account, visit <span class="plainlinks">[https://en.wikipedia.org/w/index.php?title=Special:CreateAccount&returnto=Help:Options_to_hide_an_image Create account]</span>.
* [[Help:Options to hide an image#Disable images on specific pages|Disabling images on selected pages]]
* [[Help:Options to hide an image#Disable specific images|Disabling specific images]]
* [[Help:Options to hide an image#Disable images in search widget for certain skins|Disabling the display of images in searches]]
===Hide all images until they are clicked on===
[[File:Battenburg-white-blue.svg|thumb|All images will be replaced by this [[Battenburg markings|Battenburg pattern]] placeholder image, until you click on them to reveal the image.|upright=0.7]]
{{ctop|title=Instructions for installation}}
First, copy the following text below to your [[Special:MyPage/common.js|common.js]] page:
Line 37 ⟶ 42:
===Disable images on specific pages===
{{ctop|title=Instructions
To
<syntaxhighlight lang="css" inline>.page-(
Where you'll replace
For example, to disable images from automatically displaying on the [[Muhammad]] article, your addition will look like this: <syntaxhighlight lang="css" inline>.page-Muhammad img {display: none;}</syntaxhighlight>
If the page name includes spaces or punctuation marks,
{| class="wikitable"
▲If the page name includes spaces or punctuation marks, use underscores instead. An example is below:
! Page name !! {{ya}} Correct !! {{na}} Incorrect
|-
| [[Muhammad (name)]] || <syntaxhighlight lang="css" inline>.page-Muhammad_name img {display: none;}</syntaxhighlight> || <syntaxhighlight lang="css" inline>.page-Muhammad (name) img {display: none;}</syntaxhighlight>▼
|-
| ''[[Did Muhammad Exist?]]'' || <syntaxhighlight lang="css" inline>.page-Did_Muhammad_Exist img {display: none;}</syntaxhighlight> || <syntaxhighlight lang="css" inline>.page-Did_Muhammad_Exist? img {display: none;}</syntaxhighlight>
|}
Create a newline, with the same code for each page you'd like to disable images on.
▲<syntaxhighlight lang="css" inline>.page-Muhammad (name) img {display: none;}</syntaxhighlight>
{{cbot}}
Line 62 ⟶ 69:
You can also disable specific images by individual filename. To enable this option, follow the instructions listed below:
{{ctop|title=Instructions
<syntaxhighlight lang="css" inline>body a[href="/wiki/File:(file name)"] {display: none;}</syntaxhighlight>
Where you'll replace
<syntaxhighlight lang="css" inline>body a[href="/wiki/File:Silver-service-star.png"] {display: none;}</syntaxhighlight>
Line 77 ⟶ 84:
<syntaxhighlight lang="css" inline>body a[href="//commons.wikimedia.org/wiki/File:(file name)"] {display: none;}</syntaxhighlight>
Where, again, you'll replace
{{cbot}}
Line 94 ⟶ 101:
===How to block images site-wide===
====
Modifying the preference in [https://support.mozilla.org/en-US/kb/about-config-editor-firefox ''about:config'']:
extensions.contentblocker.enabled = true
#Click on the
▲====[[Google Chrome]]====
▲#Click on the padlock next to the site's URL address. Navigate to ''Site settings''.
#Scroll down to ''Images''.
#Change setting to ''Block''.
====User scripts====
With a [[userscript manager]] such as [[Tampermonkey]], you can install "[https://greasyfork.org/en/scripts/524816-hide-images-3
===How to set up your browser not to see images at all===
====Google Chrome====
#Click top right icon on Google Chrome browser, then choose
#Click
#Under "Default behaviour", select "Don't allow sites to show images".
▲====[[Mozilla Firefox]] ====
=====With add-on=====
|