Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Twilee 预览

Twilee 作者: no_sreal

Replace words in Twitter posts with 𞋫Ξ𞢶₸₷₱ξ𞠭₭ alternatives.

0 (0 reviews)0 (0 reviews)
尚无用户尚无用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
关于此扩展
'Twilee' is short for 'Twitter Leetspeak'. This extension adds a 👺-button next to the Twitter Post button. Pressing the button will replace whatever text is in the input box with leetspeak representation based on the defined options.

WHY WOULD YOU USE THIS?
  1. Vanity
    • It looks cool and spices up your timeline.
  2. Character space
    • Applying the right word replacements (e.g. 🤍🔵❤️🐻 for Russia) will save you a couple of characters per tweet, giving you more space to express what you want to say.
There are surely other use-cases you might come up with - even though I can't think of any other 🙂.

OPTIONS
can be defined in the extension-settings in browser or by downloading the settings JSON file from the options menu, editing in a text editor and re-uploading again.

MATCHING LOGIC
From V1.1 Twilee supports regular expression matching.
  • "russ(ia|ian|ias)" will match "russia", "russian" and "russias"
  • "us(a)?" will match "us" and "usa"
  • "ta[b|p]" will match "tab" and "tap"
You can test your regular expressions here: https://regex101.com/
Dangerous expressions such as ".*" and ".+" are blocked and will be replaced with less greedy alternatives.

REPLACEMENT LOGIC
  • If a word is in the "wordList" of the JSON, it will be replaced.
  • If there also exist an expression for the word in the "words", it will be replaced with it. Else every letter of the word will be replaced with a random selection from the corresponding letter list of "letters". "words" follow a specific logic. Every word is associated with a list of lists. One list will be selected from the parent list. For example:
    • Parent (2 elements):
      • ["russia": [[...], "🇷🇺"]]
        • First element: Sub-list selection (see below)
        • Second element: 🇷🇺 (flag emoji)
    • Sub-list selection (4 elements):
      • [["🤍", "⚪", "◻️"], ["🔵", "🔷", "💙"], ["❤️","🟥","🔴"], ["🐻"]]
        • First element: ["🤍", "⚪", "◻️"] (white)
        • Second element: ["🔵", "🔷", "💙"] (blue)
        • Third element: ["❤️","🟥","🔴"] (red)
        • Fourth element: ["🐻"] (bear)

One element from each list of the sub-list will be selected. The final string could therefore look like: 🤍🔵❤️🐻. Note that 🐻 will always be present as its list only has one element.

V1.3
From version 1.2 a second button is introduced next to the "👺"-replacement button.
This button acts as a toggle and has two states: 1️⃣ 🔀
  • (Default) State: 1️⃣ is single word replacement mode based on your wordlist.
  • State: 🔀 is full-replacement mode replacing every character in your post ignoring your wordlist.

KNOWN BUGS
  • I recommend not to use line-breaks. Multi-Line posts cause all kinds of issues. If there is a word to be replaced on the first line of a multi line post, it will be replaced, but upon post submission it will revert to its original form. I don't know why that happens, happy for suggestions.
  • This happens only on posts containing line-breaks. If you write a post that is just long and lines wrap, that's ok.
开发者留言
  • V1.1
    • increase replacement alphabet
    • enabled regex-matching for wordlist
  • V1.2
    • skipped because of insecure innerHtml() call
  • V1.3
    • added a second button allowing for full test replacement ignoring the wordlist. This introduces two modi to the extension.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据详细了解

必要权限:

  • 访问您在 twitter.com 的数据
  • 访问您在 x.com 的数据
更多信息
版本
1.4
大小
51.77 KB
上次更新
1 年前 (2024年8月29日)
相关分类
  • 社交和通信
许可证
MIT 许可证
版本历史
  • 查看所有版本
标签
  • social media
  • translate
  • twitter
添加到收藏集
举报此附加组件
no_sreal 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。