Skip to content

Instantly share code, notes, and snippets.

View EvertonSilva's full-sized avatar

Everton Silva EvertonSilva

  • Muralis Tecnologia
  • Mogi das Cruzes - SP
  • 06:43 (UTC -03:00)
  • X @_evertonsilva
View GitHub Profile
@EvertonSilva
EvertonSilva / gist:f702ddfa6ba851d53bbbd9c17e860c86
Created April 27, 2018 14:26 — forked from jaydson/gist:1780598
How to detect a click event on a cross domain iframe
var myConfObj = {
iframeMouseOver : false
}
window.addEventListener('blur',function(){
if(myConfObj.iframeMouseOver){
console.log('Wow! Iframe Click!');
}
});
document.getElementById('YOUR_CONTAINER_ID').addEventListener('mouseover',function(){
@EvertonSilva
EvertonSilva / EA_BPMS_Node_Script.md
Created June 15, 2018 01:39 — forked from ejlp12/EA_BPMS_Node_Script.md
Jboss bpms, jbpm, brms, script, onexit, onentry

Get and set process variable:

// Set variable
kcontext.setVariable("XYZ", "9000001214"); 

// Get variable
System.out.println("\t##### Process variable XYZ: " + 
                  kcontext.getVariable("XYZ"));