Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

JS - min. read parameter for linked in

0 votes
8 views
added Apr 23 in Javascript by lcjr Second Warrant Officer (5,360 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

 

Please log in or register to response this reference.

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