• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

Need javascript for copy& paste

f i right click in firefox browser i added a extra context menu by using the firefox extensions if i click that menu some functionality to be added so  needed a java script.

NEEDED JAVASCRIPT FOR:
if i select (highlight)some text from a window which is opened in firefox browser and i rightclick in the browser window   context menu(which is added my me) will appear and i click the menu  the selected text must be copied and pasted in a new window.

Iam attaching a file which is used when we select some text and click a button the selected text is added to a text area. i need the same functionality but for context menu .
0
arnold7778
Asked:
arnold7778
1 Solution
 
BarsMonsterCommented:
There is no control over "system" context menu, but you may emulate lightbox-based context menu and do window.open on click on it's items.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now