Question Adding a feature to a mozilla addon

Status
Not open for further replies.

georgegalily

Distinguished
Feb 25, 2012
18
0
18,520
  • Hi ALL,
  • In this code when i call copyAllLinksOnCurrentTab it copies all links
  • So, Can You help me modifying this code so that when I call copyAllLinksOnCurrentTab it will copy the current tab title then the links then close the tab
  • Code for copying title:
    var titlecc = navigator.clipboard.writeText(querying.title + "\n");
* Code for closing the tab (it closes it before copying any thing on all my tries)
var removing = browser.tabs.remove(
tab.id
)
* This the add-on files:
https://drive.google.com/file/d/1umi4KG3EI15hRT0BWLFywdVdt7UrwC1f/view?usp=sharing
 
Last edited:
Status
Not open for further replies.