After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 781942 - Do not show websites rated for adults in the overview
Do not show websites rated for adults in the overview
Status: RESOLVED OBSOLETE
Product: epiphany
Classification: Core
Component: Overview
unspecified
Other All
: Low enhancement
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-04-29 12:32 UTC by Moo
Modified: 2018-08-03 21:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Moo 2017-04-29 12:32:03 UTC
In the overview do not show websites which carry a meta tag specifying it is Restricted To Adults (RTA).

Tag:
<meta name="RATING" content="RTA-5042-1996-1400-1577-RTA" />

Relevant links:
https://davidwalsh.name/rta-label
http://www.rtalabel.org/
Comment 1 Michael Catanzaro 2017-04-30 17:24:22 UTC
This would be a good task for someone looking to take a deep dive into Epiphany, but also a lot of work. In the web extension, you'd need to walk the DOM, look for meta tags, and see if it matches using the webkit2gtk-web-extension API. Then you'll need to send a script message to the UI process to mark the current page as adults only. The history database format would need to be modified to add an extra boolean field. Since you're touching the database format, you'd need to investigate whether a database migration is required; if so, then we'd need a new profile migrator. Lastly, history query performed by ephy-about-handler will need to be modified to extract the new database field. You'll need to also make the query a bit smarter, or query repeatedly if some of the top nine sites turn out to be RTA, since you don't want to wind up with a missing overview item for each RTA site in the top nine.
Comment 2 GNOME Infrastructure Team 2018-08-03 21:06:52 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/epiphany/issues/385.