activities.js
function addFragmentParam(url, param, value) {
  return url +
      (url.indexOf('#') == -1 ? '#' : '&') +
      encodeURIComponent(param) + '=' + encodeURIComponent(value);
}
function addFragmentParam(url, param, value) {
  return url +
      (url.indexOf('#') == -1 ? '#' : '&') +
      encodeURIComponent(param) + '=' + encodeURIComponent(value);
}
function addFragmentParam ( url , param , value ) { return url + ( url . indexOf ( '#' ) == - 1 ? '#' : '&' ) + encodeURIComponent ( param ) + '=' + encodeURIComponent ( value ) ; }
Add a query-like parameter to the fragment string.
@param {string} url
@param {string} param
@param {string} value
@return {string}
Add a query - like parameter to the fragment string .