[英]Is it possible to inject javascript into a twitter feed to customize it's colors, font, etc.?
是否可以创建一个 safari 扩展程序来注入 javascript,一旦它加载到屏幕上,就会改变 twitter 提要颜色、字体等,或者 twitter 以某种方式禁用了它?
Twitter cannot "somehow disable" that; Twitter 不能“以某种方式禁用”它; if you inject Javascript/CSS into a page via an extension you can do whatever you want.如果您通过扩展将 Javascript/CSS 注入页面,您可以为所欲为。
Yep.是的。 You can use Greasemonkey (for Firefox) or Tampermonkey (for Google Chrome) to create userscripts which are Javascript scripts that are executed on the pages that you specify.您可以使用Greasemonkey (适用于 Firefox)或Tampermonkey (适用于 Google Chrome)来创建用户脚本,这些脚本是在您指定的页面上执行的 Javascript 脚本。
You can always run custom Javascript directly from the browser console too if you don't want to install the userscript plugin.如果您不想安装用户脚本插件,您也可以随时直接从浏览器控制台运行自定义 Javascript。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.