Minimal Chrome extension (8ko) that output the content of clipboard to a new tab

manifest.json 618B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "name": "PasteTab",
  3. "version": "0.0.1",
  4. "manifest_version": 2,
  5. "description": "Paste Clipboard Data to new Tab",
  6. "icons": {
  7. "16": "images/icon-16.png",
  8. "128": "images/icon-128.png"
  9. },
  10. "background": {
  11. "persistent": false,
  12. "page": "background.html"
  13. },
  14. "permissions": [
  15. "tabs",
  16. "clipboardRead",
  17. "clipboardWrite"
  18. ],
  19. "content_scripts": [
  20. {
  21. "matches": [
  22. "http://*/*",
  23. "https://*/*"
  24. ],
  25. "js": [
  26. "scripts/oncopy.js"
  27. ]
  28. }
  29. ],
  30. "browser_action": {
  31. "default_icon": {
  32. "19": "images/icon-19.png",
  33. "38": "images/icon-38.png"
  34. },
  35. "default_title": "PasteTab"
  36. }
  37. }