chromeworker_client/example.js

6 lines
270 B
JavaScript
Raw Normal View History

2020-11-23 10:49:37 +00:00
function condition() {
var href = window.location.href;
var content = document.documentElement.innerHTML;
2020-11-23 11:40:28 +00:00
return href.startsWith("https://playerduo.com") && content.startsWith('<ad></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">')
2020-11-23 10:49:37 +00:00
}