Content deleted Content added
m →UC Browser: replace double curved quotes with regular double quotes |
m Reverted edits by 94.202.250.8 (talk): unexplained content removal (HG) (3.4.12) |
||
(24 intermediate revisions by 14 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)
#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==
{{see|Help:Cascading Style Sheets}}
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
* [[Help:Options to hide an image#Disable images on specific pages|Disabling images on selected pages]]
[[File:Battenburg-white-blue.svg|thumb|All images will be replaced by this [[Battenburg markings|Battenburg pattern]] until you click on them in order to view the image]]▼
* [[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
You can install a user script called [[User:Anomie/hide-images]] which replaces all images with a placeholder image. Clicking the placeholder image will reveal the original image. To hide images in this fashion, install the required user script by following the directions below:
{{ctop|title=Instructions for installation}}
First, copy the following text below to your [[Special:MyPage/common.js|common.js]] page:
Line 35 ⟶ 39:
<syntaxhighlight lang="css" inline>@import url('//en.wikipedia.org/w/index.php?action=raw&title=User:Anomie/hide-images.css&ctype=text/css');</syntaxhighlight>
{{cbot}}
▲To reveal and display an individual image on a Wikipedia page, simply click on the checkerboard pattern. You can simply reload the page in order to re-hide the images. To turn this entire feature off, simply undo the changes you made when you followed the instructions above.
===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 64 ⟶ 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 79 ⟶ 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 96 ⟶ 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/
===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=====
|