Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.os.windows-10 > #90251
| From | "J. P. Gilliver (John)" <G6JPG-255@255soft.uk> |
|---|---|
| Newsgroups | alt.comp.os.windows-10, alt.windows7.general, microsoft.public.windowsxp.general |
| Subject | Re: OT: Controlling webpages in Firefox |
| Date | 2019-05-07 16:04 +0100 |
| Organization | 255 software |
| Message-ID | <rAQqnLYm5Z0cFwf$@255soft.uk> (permalink) |
| References | <qas51d$vod$1@dont-email.me> |
Cross-posted to 3 groups.
In message <qas51d$vod$1@dont-email.me>, Mayayana
<mayayana@invalid.nospam> writes:
>Using the userContent.css file in FF to change webpage display.
>------------------------------------------------------------
Does it matter where in that file you put all these code snippets? (For
example, can I just add them onto its end?)
[]
> Many people have trouble with pages not displaying correctly
>or with obnoxious popovers. The former is especially a problem
>for people disabling script. The second is one of the problems
>that comes with enabling script.
>
> In FF, any webpage element can be edited using userContent.css
>in the app data folder. You can override all links, for instance, and
Can it be edited while Firefox is running?
[]
>Class is denoted in CSS with a period and ID with a hash sign:
>
>.TopMenu
>#TopMenu
So if you want to do something (such as block), do you have to duplicate
any code, one with . one with #?
[]
>functionality. No normal person would use a class name in CSS like
>"secondary-nav-screen-container". Most would probably call it
>something like "menu-left", "PopoutMenu", etc. They have those
Can you make the same (in effect) kill code apply to lots of the
above-type names, or do you have to duplicate it for every one you find?
>ridiculously technical names because they're generic inventions that
>get passed around, used by partially educated commercial webmasters
>who are mainly working with WYSIWYG tools.
>
> The same problem of webmaster fads that breaks so many pages
>also sometimes makes it possible to fix them en masse.
(-:
[]
>:before {display: none !important;}
>:after {display: none !important;}
>
>:before and :after are especially obnoxious. Kids use them
>to do things like make the first letter in a sentence drip with
>green slime. They allow any element to have styles specified
I don't think I've ever encountered that one!
>for just in front and just after that element. The lines above
>block all uses of :before and :after.
>
>Here's what I've used to remove Twitter quotes from virtually
What's a Twitter quote?
>all webpages:
>
>#divRawLinkBackRow {display: none !important;}
>#sharebar_fixed {display: none !important;}
>#sharebar_fixed_social {display: none !important;}
>.twitter-tweet {display: none !important;}
>
> Some people may like Twitter quotes. I find them intrusive.
>They're virtually always trite and serve as a way for journalists
>to not do their job. If an article isn't relevant without tweets
>from pop stars or politicians then I probably don't want to be
>spending my time reading it.
>
> This can also be used for whole elements:
>
>EMBED {display: none !important;}
>VIDEO {display: none !important;}
>MARQUEE {display: none !important;}
>
>(Marquee are those obnoxious scrolling animations that
>scroll text.)
>
> Knowwledge of HTML and CSS is necessary to write these, but
>many of them can also be found online, or offered as samples
>by Mozilla.
>
>
I suppose the underlying concern about all of these kill scripts is that
you - or I, at least - would certainly forget which ones I'd installed,
and then, somewhat later, be bemused why something wasn't/isn't working.
For example, some while ago someone posted how to block IFRAMEs, which I
did, as I thought there were lots of them I would be happy not seeing;
subsequently, I found "Verified by Visa" didn't work. It didn't show a
little icon showing it was blocked, or otherwise indicate something was
missing: it just didn't appear. **Which meanst I didn't know it was
missing.** That's what I'm concerned about with your (and others') tweak
scripts: the fact that, months or even years later, something may just
not appear, and I have little chance of knowing why it isn't. Rather in
the same way most here warn against using registry cleaners.
--
J. P. Gilliver. UMRA: 1960/<1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf
Listen, three-eyes, don't you try to out-wierd me, I get stranger things than
you free with my breakfast cereal. (Zaphod Beeblebrox in the link episode)
Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OT: Controlling webpages in Firefox "Mayayana" <mayayana@invalid.nospam> - 2019-05-07 10:32 -0400
Re: OT: Controlling webpages in Firefox "J. P. Gilliver (John)" <G6JPG-255@255soft.uk> - 2019-05-07 16:04 +0100
Re: OT: Controlling webpages in Firefox "Mayayana" <mayayana@invalid.nospam> - 2019-05-07 11:52 -0400
Re: OT: Controlling webpages in Firefox "J. P. Gilliver (John)" <G6JPG-255@255soft.uk> - 2019-05-07 19:11 +0100
Re: OT: Controlling webpages in Firefox "Mayayana" <mayayana@invalid.nospam> - 2019-05-07 15:03 -0400
csiph-web