简体   繁体   English

是否可以将 javascript 注入 Twitter 提要以自定义其颜色、字体等?

[英]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.

相关问题 Twitter 的 typeahead.js 建议没有样式(没有边框、透明背景等) - Twitter's typeahead.js suggestions are not styled (have no border, transparent background, etc.) JavaScript:查找全部 <href> 链接并向其中添加样式标签,并带有样式详细信息,例如字体,颜色等。 - JavaScript: Find all <href> links and add style tag to it with style details like font, color etc. 如何更改javascript计算的字体,颜色,大小等? - How can I change the font, colour, size etc. of a javascript calculation? Twitter Feed无法正常运行JavaScript - Twitter Feed not working javascript 是否可以使用javascript在特定目录中保存诸如.swf,.mp3,.txt等文件,而无需“另存为”提示? - Is it possible to save a file such as .swf, .mp3, .txt, etc. without the “save as” prompt using javascript in a specific directory? 嵌入不带Javascript的Twitter Feed - Embed Twitter Feed without Javascript 通过 Javascript 循环 Twitter 提要 - Loop Twitter feed via Javascript 使用JavaScript忽略“a”,“the”等的字符串搜索 - String search that ignores “a”, “the”, etc. with JavaScript 具有$ 1,$ 2等选择器的Javascript RegEx .match() - Javascript RegEx .match() with $1, $2, etc. selectors JavaScript奇怪的执行顺序(循环等) - Javascript strange execution order (loops etc.)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM