MCPcopy Create free account
hub / github.com/WhiteSevs/TamperMonkeyScript / getImageNameFromURL

Function getImageNameFromURL

lib/Viewer/index.js:1281–1283  ·  view source on GitHub ↗

* Get an image name from an image url. * @param {string} url - The target url. * @example * // picture.jpg * getImageNameFromURL('https://domain.com/path/to/picture.jpg?size=1280×960') * @returns {string} A string contains the image name.

(url)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

index.jsFile · 0.85

Calls 1

isStringFunction · 0.85

Tested by

no test coverage detected