Skip to content

API Documentation: tools.appendJavaScriptURL()

Ben Zelnick edited this page Jun 18, 2019 · 1 revision

Summary

Supported Versions

1.0.0+

Purpose

Appends a javascript URL ("javascript:") to the beginning of a string

Access Method

bookmarklets.tools.appendJavaScriptURL(JSString)

Other Information

No content

Details

Return Value

Description

The inputted JSString with the javascript URL component appended

Type

String

Parameters

JSString

Description

The original string onto which the javascript: URL component should be appended

Type

String, required