A browser extension to easily rehost files using a 'Pomf clone'. Comments about the code quality will most likely be ignored. Patches or pull requests are welcome.

options.html 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!doctype html>
  2. <html>
  3. <head><title>pomf-rehost options</title></head>
  4. <body>
  5. Pomf clone/Pomf-like:
  6. <select id="pomfclone">
  7. <option value="https://p.fuwafuwa.moe">p.fuwafuwa.moe (HTTPS)</option>
  8. <option value="https://pomf.pyonpyon.moe">pomf.pyonpyon.moe (HTTPS)</option>
  9. <option value="https://steamy.moe">steamy.moe (HTTPS)</option>
  10. <option value="https://mixtape.moe">mixtape.moe (HTTPS)</option>
  11. <option value="https://cocaine.ninja">cocaine.ninja (HTTPS)</option>
  12. <option value="https://fuwa.se/api/upload">fuwa.se (HTTPS)</option>
  13. <option value="https://cuntflaps.me">cuntflaps.me (HTTPS)</option>
  14. <option value="https://pomf.is">pomf.is (HTTPS)</option>
  15. <option value="custom">Custom</option>
  16. </select>
  17. <br />
  18. URL:
  19. <input type="text" id="urlbox">
  20. <br />
  21. <br />
  22. After upload:<br />
  23. <input type="radio" name="tabbehaviour" id="newtab" value="newtab" checked> Open new tab<br />
  24. <input type="radio" name="tabbehaviour" id="replacetab" value="replacetab"> Replace current tab
  25. <br />
  26. <br />
  27. <input type="checkbox" id="copytoclipboard"> Copy URL to clipboard<br />
  28. <input type="checkbox" id="replacebookmark"> Replace bookmark (if original URL is bookmarked)
  29. <br />
  30. <br />
  31. <input type="checkbox" id="disableblacklist"> Disable URL blacklist<br />
  32. <br />
  33. <br />
  34. <!--
  35. TODO:
  36. * Add progress/status messages
  37. * Add imageboard thread archival support
  38. * Add booru support
  39. * Add imgur album support
  40. * Option to download a copy (checkbox)
  41. * Error checks and messages
  42. * Context menu item
  43. * Optionally convert gif to webm
  44. * Option to use a random Pomf clone
  45. -->
  46. <button id="save">Save</button>
  47. <br />
  48. <div id="status"></div>
  49. <script src="options.js"></script>
  50. </body>
  51. </html>