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
var elementToCheck; | |
var DELAY = 200; | |
function checker() { | |
elementToCheck = document.querySelector('#spoAppComponent'); | |
if(elementToCheck != null) { | |
putBreakPoint(); | |
return; | |
} | |
// otherwise, keep listening |
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
/** | |
* when you open https://status.aws.amazon.com/, trying to find what went wrong on a specific day, | |
* it can become hard to notice the blue & yellow circles among thousands of green check marks | |
* open the developer tools, and add the following css, and you'll only see errors | |
*/ | |
/* hide green mark */ | |
img[src*="/images/status0.gif"], | |
/* hide disabled (-) mark */ | |
img[src*="status-disabled.gif"] { |
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
/** | |
* acceps colors as arguments, and will simply print them out to console | |
* | |
* e.g: console.color('red', 'blue', 'green'); // prints red, blue and green squares | |
*/ | |
console.color = function() { | |
var result = ''; | |
var args = []; | |
for(var i = 0; i < arguments.length; i++) { | |
result += '%c ' + arguments[i] + ' '; |
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
<script type="text/javascript"> | |
(function() { | |
/** | |
* hook method to be executed as soon as shortpoint | |
* rendered on the page | |
*/ | |
function ShortPointReady() { | |
shortpoint.$('#openMe').click(); | |
}; | |
// shortpoint not yet available in the page |
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
<script type="text/javascript"> | |
(function() { | |
'use strict'; | |
/** | |
* configurations | |
*/ | |
var tickersClass = 'my-paused-text-shows'; |
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
<script type="text/javascript"> | |
(function() { | |
'use strict'; | |
/** | |
* configurations | |
*/ | |
var tabsClass = 'my-rotating-tabs'; // <- put the css class of the tabs you want to control |
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
<script type="text/javascript"> | |
(function() { | |
'use strict'; | |
/** | |
* configurations | |
*/ | |
var tickersClass = 'my-paused-ticker'; |
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
<script type="text/javascript"> | |
(function() { | |
'use strict'; | |
var sTwitterScriptID = 'shortpoint-twitter-script'; | |
/** | |
* hook method to be executed as soon as shortpoint | |
* is available in the page |
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
<script type="text/javascript"> | |
(function() { | |
'use strict'; | |
/** | |
* hook method to be executed as soon as shortpoint | |
* rendered on the page | |
*/ | |
function ShortPointReady() { |
NewerOlder