Javascript UserScript未作为Chrome扩展运行

Javascript UserScript未作为Chrome扩展运行,javascript,jquery,google-chrome,Javascript,Jquery,Google Chrome,这是我的密码: // ==UserScript== // @name Javascript // @version 0.1 // @match *://*/* // @include *://*/* $('*').contents().filter(function() {return this.nodeType == Node.TEXT_NODE && this.nodeValue.trim() != '';}).each(function

这是我的密码:

// ==UserScript==
// @name       Javascript  
// @version    0.1
// @match      *://*/*
// @include    *://*/*
$('*').contents().filter(function() {return this.nodeType == Node.TEXT_NODE && this.nodeValue.trim() != '';}).each(function() {this.nodeValue = (atob('TWljaGFlbCBpcyBiYWUh '));});

当在javascript控制台中运行时,脚本确实可以工作。我希望它在所有页面上运行。我通过将包含此文件的.user.js文件拖动到chrome://extensions.

您试过了吗?是的,但我正在寻找一个更临时/快速的解决方案。它很好用。