Created
April 5, 2011 07:14
-
-
Save aaronfrost/903164 to your computer and use it in GitHub Desktop.
This should work, but doesn't. Not sure why. Can someone tell me?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dispatch { | |
// Some example dispatch domains | |
// domain "example.com" | |
domain "google.com" | |
} | |
global { | |
} | |
rule temp_rule is active{ | |
select when pageview ".*" | |
pre{ | |
} | |
{ | |
notify("111",'123'); | |
emit<< | |
var tempapp = KOBJ.get_application("a710x19"); | |
tempapp.raise_event("temp2"); | |
>>; | |
} | |
} | |
rule temp2 is active{ | |
select when web temp2 | |
pre{ | |
} | |
{ | |
notify("222",'<div id="fbp_fblogo">123</div>'); | |
emit<< | |
console.log("TEMP2'd"); | |
>>; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment