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
// ==UserScript== | |
// @name One Creative | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Intelligently auto-shows/hides search box and filters | |
// @author Andrew Theroux | |
// @match http://onecreative.aol.com/ | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ |
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
body.ads .GETVLJGBCOB, body.ads .GETVLJGBGOB.GETVLJGBFP.GETVLJGBDOB, body.ads .GETVLJGBDOB { | |
display: block !important; | |
} | |
body.templates .GETVLJGBCOB, body.templates .GETVLJGBGOB.GETVLJGBFP.GETVLJGBDOB, body.templates .GETVLJGBDOB { | |
display: block !important; | |
} | |
body.campaigns .GETVLJGBL3B { | |
display: block !important; |
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
.GETVLJGBHKB > tbody > tr > td:first-child { | |
transform: translateX(-100px); | |
} | |
.GETVLJGBCQ { | |
width: 140px; | |
} | |
.GETVLJGBBC { | |
width: auto; | |
} | |
.GETVLJGBBC div.buttonText { |
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
var arcturus = { | |
//Private Properties | |
var prop = true; | |
//Public Property | |
arcturus.property = "some string"; | |
//Public Method | |
arcturus.pubfunc = function() { |
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
¯\_(ツ)_/¯ | |
ಠ_ಠ | |
{◕ ◡ ◕} | |
(•_•) | |
( •_•)>⌐■-■ | |
(⌐■_■) |
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
$(window).load(function() { | |
var $fadedElems = $('body').find('.faded'); | |
$fadedElems.removeClass('faded'); | |
}); | |
$(function() { | |
var $container = $('.img-container'), | |
$childElement = $('.img-container img'), | |
imgArray = [], | |
currentImg = 0; |
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
Two ways of doing this. | |
OPTION A *** preferred | |
In module, have this: | |
<script type="text/javascript"> | |
Boot.getJS({ | |
src: 'http://se.loc:8888/js/somejsfile.js', | |
defer: 'ready' | |
}); |
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
# Numerous always-ignore extensions | |
*.diff | |
*.err | |
*.orig | |
*.log | |
*~ | |
# OS or Editor folders | |
.DS_Store | |
.cache |
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
var scrollTimeout; | |
var throttle = 50; | |
var scrollMessage = function (message) { | |
console.log(message); | |
}; | |
$(window).on('scroll', function () { | |
if (!scrollTimeout) { | |
scrollTimeout = setTimeout(function () { |
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
(function ($) { | |
// Collection method. | |
$.fn.awesome = function () { | |
return this.each(function (i) { | |
// Do something awesome to each selected element. | |
$(this).html('awesome' + i); | |
}); | |
}; | |
}; |