(title)
| 2538 | } |
| 2539 | // 判断网站标题是否包含指定文字 |
| 2540 | function isTitle(title) { |
| 2541 | return document.title.indexOf(title) > -1; |
| 2542 | } |
| 2543 | // 判断规则中的 nextL、pageE、insertP、replaceE 元素是否存在于当前网页 |
| 2544 | function isPager(type) { |
| 2545 | if (!type) { // 如果没有指定要判断的元素类型参数,那么需要设置默认值 |
nothing calls this directly
no outgoing calls
no test coverage detected