From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.help Subject: Re: Are there some HTML tags that I can use to make certain blocks auto-hide in eww? Date: Thu, 27 Sep 2018 09:50:46 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1538056217 2508 195.159.176.226 (27 Sep 2018 13:50:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Sep 2018 13:50:17 +0000 (UTC) Cc: Help Gnu Emacs mailing list To: Kaushal Modi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 27 15:50:12 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5WgE-0000Xd-L6 for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Sep 2018 15:50:10 +0200 Original-Received: from localhost ([::1]:36044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5WiL-0004ZO-Db for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Sep 2018 09:52:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5Wh3-00043Y-JM for help-gnu-emacs@gnu.org; Thu, 27 Sep 2018 09:51:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5Wh2-0003FI-Ae for help-gnu-emacs@gnu.org; Thu, 27 Sep 2018 09:51:01 -0400 Original-Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]:44513) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g5Wh1-0003EN-Sz for help-gnu-emacs@gnu.org; Thu, 27 Sep 2018 09:51:00 -0400 Original-Received: by mail-oi1-x229.google.com with SMTP id u74-v6so2176283oia.11 for ; Thu, 27 Sep 2018 06:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zunsbkvcMspEDfyKEATKLcWphuPMH61vOm0eTwmSkM8=; b=EQME1knNqTglWTt5BkfUsW97OBsaEg/LLuBK/T+RF+/mSQxjE4gQvk72VnvWFKHhDx r8lUeGFSldmqfK7YDEoZAhg0cW/2Jh6RkLtPaE3V3yXYgcPEe1i4uV6KFGnjJCubG4xW vAvnjJQ/J7nH4guPUb5aSNP8KMRQ7r+q1sW8ePPBZ1PMGybz26yqrrB0Id1oYN9/22dJ 1VoQH0fyl+7MoON6CQ2AG5GIjNd7Amo7UQlwD8nGz98CTAOM/he+0WrOZU881yIb9GKI j+tidqh90o3DsFDUHqSIPv8tWjQ5CZFNt2wQNSOXDAyg0G4VqLbOSAlCpp0y19dVpGmB cSUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zunsbkvcMspEDfyKEATKLcWphuPMH61vOm0eTwmSkM8=; b=d0WeB9iC+cmxpFNvzOF0QzGo3hTbO6qja65/FHOTdDb9+jqkGM9PT+LUiWc9wgxxpk Iz1pKouSHG3quRFYeYNX9hkKY4+i6KCEb/YbSa9ea0lUF2w4T0mjQ7fdrmr9CUZFiYA9 jyhqcfOsHr7xc0m6TSXvEfNlJ7l7cH15wnSgsTwRP72dIJ8PXsTt8ZAJlvhmHIfVjoJh imMQ+i4eerfeidQb9RNv+PjyyOCTW4HhULYIPnutzczbmK9nCOMSFWgEbJ8Azedl9Kip xNcctc1ytg09Dk8bd9S4jZmZ6ppGWmrs8XOy861yOKui9z/hYTjpp9Hy7e2M+rnbtjvm +MnA== X-Gm-Message-State: ABuFfoggikfIOwADLyXRLiY3TA2r+y+uR3lkmC0N9Gb1LfQpolYTww4b jH8BC+mrH9xa/j87kOxDyJRc2QDOfy28OKlMZxRgpshj X-Google-Smtp-Source: ACcGV63arxLZhInZAJ2osaDQJY1dSkA4Wk8yFea+IV8AfQ38v8G18mIigH9JCZa4T+IetRGCkqdWupiOJ3xP+auaj9o= X-Received: by 2002:aca:4d13:: with SMTP id a19-v6mr3018326oib.205.1538056258549; Thu, 27 Sep 2018 06:50:58 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::229 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118030 Archived-At: On Thu, 27 Sep 2018 at 09:19, Kaushal Modi wrote: > On regular web browers, I don't see both ToC at the same time because I > control which one of the two is shown, using CSS. > > Eww does not use the CSS. So it shows both simultaneously as you seen in > the screenshot (which might show up as attached image based on your email > client). > > So.. Is there a special tag/class that I can use to prevent showing one of > the two ToCs in eww? If not, can a feature like that be added? Eww (or more specifically, shr) supports inline styles, using style="display:none" on a tag does hide it in Eww. If you're using a recent Emacs from master, aria-hidden="true" also works (generally, this is meant to hide it from screen-readers, see Bug#32348).