rogershen / chrome-regex-search

Other
272 stars 56 forks source link

Is it possible to have a function to copy those selected text? #18

Closed TerrySunTW closed 5 years ago

TerrySunTW commented 7 years ago

This is a really useful extension. User will need a function to copy those selected text. Is there any way to do this?

TerrySunTW commented 7 years ago

Or maybe just need to show all selection text in somewhere. you could use this javascript to do that.

Array.prototype.forEach.call( document.querySelectorAll("highlight-tag"), function( el, i ) { console.log( el.textContent );});

mtiigi commented 5 years ago

I wanted this too :+1:. See #32.

rogershen commented 5 years ago

I will merge the pull request.