使用Greasemonkey从页面中删除内容 [英] Removing content from a page using Greasemonkey

查看:47
本文介绍了使用Greasemonkey从页面中删除内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在尝试这样做时遇到了一些麻烦,所以有人可以帮帮我。

我想要一个从装载页面删除以下代码的greasemonkey(javascript):

删除所有代码从以下开始:

展开 | 选择 | Wrap | 行号

解决方案

更改了线程标题以更好地描述问题(您是否知道标题不符合发布指南实际上得到了FEWER响应?)。


访问表格单元格并调用父级的(表格/ tbody)removeChild方法。

我尝试了几种方法,但它们似乎对我不起作用。

有人可以这么善良并发布javascript来实现这一目标。


谢谢!


I had some trouble trying to do this, so can somebody please help me out.
I want a greasemonkey (javascript) that will remove the following code from the loading page:

Remove all the code starting From:

Expand|Select|Wrap|Line Numbers

解决方案

Changed thread title to better describe the problem (did you know that threads whose titles do not follow the Posting Guidelines actually get FEWER responses?).


Access the table cell and call the parent''s (the table/tbody) removeChild method.


I tried several methods, but they don''t seem to work for me.
Can somebody please be so kind and post the javascript to accomplish this.

Thanks!


这篇关于使用Greasemonkey从页面中删除内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆