# TapTap | Shortcuts Library

> Delete annoying elements in a Safari webpage with a double tap

## What this shortcut does

⚠️ I was sherlocked! 🥳🍾 iOS 18 included a "Hide Distracting Items" feature! ⚠️
I'm tired of annoying things covering what I want to read in Safari. I've had a version of this in Firefox
forever
and I really missed it in my iPad.
The idea is really simple: Run the shortcut and, from that moment, you can make disappear almost anything.
The
first tap
marks an element to be deleted
A
second tap
in a marked element deletes it
Remove the mark with a
two-finger tap
or marking another element
A
two-finger tap
when nothing is marked disables the script
The script does not work with the contents of an
iframe
It's been said that a picture is worth a thousand words...
How about a video then?
​
P.S. I
love
the
Run JavaScript on Web Page
action :-)
P.P.S. Thanks to
Rafael Roa
for the (much improved) name of the shortcut :-D
Related
If you use Firefox you may be interested in the
userscript
that inspired this shortcut: Click to delete (it requires the Greasemonkey extension)
Consider the JavaScript in the shortcut and the original script under the MIT license.
TO DO
̶M̶a̶k̶e̶ ̶a̶n̶ ̶i̶O̶S̶ ̶1̶2̶ ̶c̶o̶m̶p̶a̶t̶i̶b̶l̶e̶ ̶v̶e̶r̶s̶i̶o̶n̶ ̶w̶i̶t̶h̶ ̶S̶c̶P̶L̶
̶A̶d̶d̶ ̶e̶x̶p̶l̶a̶n̶a̶t̶i̶o̶n̶ ̶w̶h̶e̶n̶ ̶t̶h̶e̶ ̶s̶h̶o̶r̶t̶c̶u̶t̶ ̶i̶s̶ ̶r̶u̶n̶ ̶d̶i̶r̶e̶c̶t̶l̶y̶ (feedback by
@minecraftpublisher
)
Add option to omit the instructions dialog
Make it work with
iframes
Explore alternate gestures to two-finger tapping (both for unmarking and for disabling the script)
Consider remembering per-site deleted elements (maybe via localStorage?)

## Compatibility

iPhone, iPad

## Required apps



[View this page](https://shortcutlibrary.app/shortcuts/taptap)

[Download Shortcuts Library on the App Store](https://apps.apple.com/app/id6759494377)
