content_scripts/devruler.js
/**
  * Delete ruler based on its id
  * @param {String} id of the ruler
  */
Delete ruler based on its id
@param {String} id of the ruler
Delete ruler based on its id @param { String } id of the ruler
function removeRuler(id) {
    let ruler = document.querySelector('body #' + id);
    if (ruler) {
      document.body.removeChild(ruler);
    }
  }
function removeRuler ( id ) { let ruler = document . querySelector ( 'body #' + id ) ; if ( ruler ) { document . body . removeChild ( ruler ) ; } }
Delete ruler based on its id
 @param {String} id of the ruler
Delete ruler based on its id @param { String } id of the ruler