# wx.offCopyUrl(function callback)

Start from base library version 2.14.3. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Not supported

Unlisten to the user click on the upper right menuCopy linkEvent triggered when on

# parameter

# function callback

The user clicks on the top right menuCopy linkCallback function for events triggered when on

# sample code


  // Binding sharing parameter
  wx.onCopyUrl(() => {
    return { query: 'a=1&b=2' }
  })

  // Unbind Share Parameter
  wx.offCopyUrl()