Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/mozilla/add-ons/webextensions/api/downloads/stringdelta/index.md
6567 views
---
title: downloads.StringDelta slug: Mozilla/Add-ons/WebExtensions/API/downloads/StringDelta page-type: webextension-api-type tags: - API - Add-ons - Extensions - Non-standard - Reference - StringDelta - Type - WebExtensions - downloads browser-compat: webextensions.api.downloads.StringDelta
---

{{AddonSidebar()}}

The StringDelta type of the {{WebExtAPIRef("downloads")}} API represents the difference between two strings.

Type

Values of this type are objects. They contain the following properties:

  • current {{optional_inline}}

    • : A string representing the current string value.

  • previous {{optional_inline}}

    • : A string representing the previous string value.

Browser compatibility

{{Compat}}

{{WebExtExamples}}

Note: This API is based on Chromium's chrome.downloads API.