Miguel
Miguel

Reputation: 1177

Chrome Extension paste a text template

I'm trying to to have a context menu that allows the user to select from a couple different templates and paste it to a text box. I have the context menu populating the correct names for the templates, the only thing I'm missing is the placing the text to the desired field.

Upvotes: 0

Views: 4095

Answers (2)

user2783652
user2783652

Reputation: 217

To add to the comment listing where the extensions can be found at for MAC's, for Windows PC (Vista+) they can be found at

SYSTEMDRIVE(C:)\Users\{username}\AppData\Local\Google\Chrome\User Data\Default\Extensions\{uuid-of-the-extension}\js

Upvotes: 1

PAEz
PAEz

Reputation: 8542

Easiest way to answer this is to point you to an extension that is already doing what you want....
https://chrome.google.com/webstore/detail/abmgjcmmphkhndoahbfanhbgeekconmm?hl=en-US
...have a look at its content.js file to see what their doing.

Upvotes: 3

Related Questions