是否可以使用Stylish扩展来更改元素的值?

时间:2018-01-20 05:20:52

标签: javascript html css google-chrome stylish

<input type="text" role="combobox" aria-autocomplete="both" aria-expanded="false" aria-label="Search box. Find messages, documents, photos or people" class="select-input react-typeahead-input k_w W_6D6F P_Z1E2YFn i_6LEV M_0 b_0 A_6EWk y_ZwubDW I_T p_R Z_N ui-autocomplete-input" value="" placeholder="Find messages, documents, photos or people" tabindex="10" maxlength="2000" spellcheck="false" autocapitalize="off" autocomplete="on" autocorrect="off" data-rapid_p="2">

我想更改占位符=&#34;查找消息,文档,照片或人物 占位符=&#34;搜索...&#34; < / strong>如何使用Google Chrome的Stylish扩展程序完成此操作?如果在Stylish中不可能,我可以将哪个JavaScript扩展用于Google Chrome,因为Stylish不支持JavaScript。

1 个答案:

答案 0 :(得分:3)

据我所知,使用CSS无法做到这一点,因此很时尚。但是,TamperMonkey是Chrome扩展程序,允许在加载时将Javascript用户脚本注入页面。