RemBetweenTags

 

Purpose

RemBetweenTags helps a desktop user to remove specific codes or texts contained between specific tags from tag based documents such as HTML, XML, SGML formatted files. It does it with a simple drag-drop operation.

Motivation

While surfing the Web, you might encounter an interesting Web page that you want to save locally, hoping that you can view it later and that it will load faster. When you load that saved page, later, you realize that it is slow to load because Internet transactions are still required for loading dynamic advertising. You do not mind about advertising but to waste your time again is unacceptable. Most of those time-consuming effects are from scripts, internal frames and applets that are embedded in the Web page. In 99% of cases, removing these codes removes the effects without removing the content. This is the prime motive of this metascript. You may find other applications.

Description

Overview

Once a tag based document file is dropped into the target area, RemBetweenTags search for the specified tag pairs and remove any text found between these tags including the tags themselves. It then updates the content of the dropped file. The variant specifies which tags are involved.

Variants

 

Tagged Drops

There is no tagged drop.

Untagged Drops

Only one untagged file drop is accepted.

Clipboard Use

The clipboard is not used.

Possible Metascript Messages

 

Other Considerations

No explicit Clear List command is required

Script Effects

Script inputs and outputs to the dropped file only; it updates its content. Note: If you are not sure, make a copy of that file, because the modifications are irreversible.

Requirements

Side Effects:

 

User Guide

See also the Purpose section above.

Tasks:

 

Removing text and code between specified tags

This is it. You can use the newly-updated file.

 

Source

Please, add authors and owners for each version of the metascript

Owner(s):

Author(s):