JS - min. read parameter for linked in

0 votes
58 views
added Apr 23, 2021 in Javascript by lcjr First Warrant Officer (9,190 points)
const linkedin = () => {
    window.open(
      // 'https://www.linkedin.com/shareArticle?url=' + window.location.href,
      // +'&min=1',
      // 'targetWindow',
      // 'height=600,width=660,resizable=no,toolbar=no,menubar=no,status=no,location=no,scrollbars=yes',
      `https://www.linkedin.com/shareArticle?url=${window.location.href},&min=1`,
      '_blank',
    );
  };
  
  
// &min=1 outputting 1 min read

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...