Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #90262

Re: OT: Controlling webpages in Firefox

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 19:11 +0100
Organization 255 software
Message-ID <AFtw2kbSpc0cFwLw@255soft.uk> (permalink)
References <qas51d$vod$1@dont-email.me> <rAQqnLYm5Z0cFwf$@255soft.uk> <qas9nm$sgv$1@dont-email.me>

Cross-posted to 3 groups.

Show all headers | View raw


In message <qas9nm$sgv$1@dont-email.me>, Mayayana 
<mayayana@invalid.nospam> writes:
>"J. P. Gilliver (John)" <G6JPG-255@255soft.uk> wrote
>
>| Does it matter where in that file you put all these code snippets? (For
>| example, can I just add them onto its end?)
>
>  There's no structure. Like a .css file for a webpage, each line
>is independent. However, al ater line will overrule an earlier
>line that conflicts.

Thanks for all this. You should write a book on it.
[]
>| So if you want to do something (such as block), do you have to duplicate
>| any code, one with . one with #?
[]
><TD CLASS="TD1 TD2 TD3">
>
>That indicates this TD is a member of all 3 classes. That
>might be the result of sloppy, bloated, auto-generation
>of HTML. Or there might actually be 3 different subsets
>of TDs that overlap. Usually you don't need to get into
>details like that.
>
>| >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?
>
>  I think I explained that above. If you set...
>
>#PopupMenu {display: none !important;}
>
>...it will hide all items with ID PopupMenu on all webpages.
>userContent.css is applied to every page you visit, as
>though it were a CSS file that's part of the webpage.
>
>  But that line won't hide an item with a class PopupMenu.
>And it won't hide an item with ID PoupMenu1.

So I'd have to duplicate it for each one - simple enough (though 
tedious) if it's only one line, but bit bloatish if it's several.
[]
>is not so common. It's like black background wiith chartreuse
>font. Only a small subset of teenagers think that looks clever.

Indeed! I don't mind a dark background occasionally, but the text must 
be white or yellow.
>
>| >Here's what I've used to remove Twitter quotes from virtually
>|
>| What's a Twitter quote?
>|
>  I'd give you a link, but I can't see them. :)
(-:
>
>  It's become typical in news media. They report on a
[]
>  So an article might say Beyonce fans attacked Taylor
>Swift today.... Then that would be followed by a couple
>of tweets. Then the article will explain that "Swifites"
>fired back... A couple more tweets. The "journalist" has
>their article written for them.

Sounds like more effort than just quoting them, to me!
>
>| 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.
>
>That copuld happen, but it's not likely when using unique classes
>or IDs.

I thought you were suggesting this because you said they all tend to use 
the same classes or IDs.
>
>| 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.
>
> Yes. That's blocking the whole element. I do that in PM
>but not in Firefox. Paul once pointed out that hiding
>them doesn't block cross-site-scritping dangers or
>cookies in iframes, so in PM I actually block frames
>via prefs. But with that you do have to know the
>implications. I can't get Google captchas to work at
>all on my machine. Even with script and frames. It seems
>to be something else I'm blocking that's more obscure.

But you've forgotten what. That's what I'm afraid of!

>Fortunately, I almost never actually need to deal with
>a Captcha. But it can be confusing when you don't even
>know it's there.

That's the trap! (Or one of them.)
>
>| 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.
>
>  Suit yourself. It's not a 1-click solution. It does
>require some effort and understanding of how the
>code works.
>
I just about understand how it works, but it's the matter of remembering 
what I've done that I'd find difficult.
>
-- 
J. P. Gilliver. UMRA: 1960/<1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

/Downton Abbey/ presented a version of the past that appealed to anyone who
had ever bought a National Trust tea towel. - Alison Graham, RT 2015/11/7-13

Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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