This file contains 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
class="[a-zA-Z\w0-9:;\.\s\(\)\-\,]*" |
This file contains 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
//pegar lista de disciplinas criadas | |
_rootList=document.getElementById('listContainer_databody'); | |
_rootListCount=0; | |
while(_rootListCount<_rootList.children.length) | |
{ | |
_element = document.getElementById('listContainer_row:'+String(_rootListCount)); | |
if(_element.children[1].childElementCount <=0){ | |
_regExpCommunityID= new RegExp('[0-9]{1,5}','gi'); | |
_regexpmodelID =new RegExp('\\([A-Z]{2,6}[0-9]{2,5}[A-Z]{1,3}\\)'); | |
_urlComm =trimString(_element.children[2].children[1].children[0].getAttribute('href')); |
This file contains 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
$parent=document.getElementById('blockAttributes_table_jsListFULL_Instructor_249_1_body'); | |
for (var $i = 0; $i < $parent.length; $i++) { | |
$rows = $parent.children[$i]; | |
$rows.children[1].children[0].checked=false; | |
} |
This file contains 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
_click(_image("add_file")); | |
_click(_file("repo_upload_file")); | |
_wait(2000); | |
var mkSimulation = new java.awt.Robot(); | |
mkSimulation.delay(2000); | |
var clipboard = java.awt.Toolkit.getDefaultToolkit().getSystemClipboard(); | |
var stringSelection = new java.awt.datatransfer.StringSelection('[path_of_file]'); | |
clipboard.setContents(stringSelection,null); | |
mkSimulation.keyPress(java.awt.event.KeyEvent.VK_CONTROL); | |
mkSimulation.delay(200); |
This file contains 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
//classe dos elementos DIV que contem o vídeo | |
//k-u-P-m | |
//o attribute que precisamos para pegar o id do vídeo | |
//data-id | |
//pegando os vídeos | |
VideoElements = document.getElementsByClassName('k-u-P-m'); | |
for (var i = 0, total = VideoElements.length; i < total; i++) { |