Skip to content

Instantly share code, notes, and snippets.

View pirkka's full-sized avatar

Pirkka Esko pirkka

View GitHub Profile
(function(url) {
console.log('is jQuery.timeago defined?');
console.log((typeof(jQuery.timeago) !== 'undefined'));
var tag = 'script';
var request = new XMLHttpRequest();
request.onreadystatechange = function() {
if(request.readyState === 4) {
console.log('we have fetched the script');
if(request.status === 200) {
var javascript = request.responseText;
@pirkka
pirkka / taeggie-feed-widget-IFRAME.html
Last active November 21, 2016 11:44
Taeggie feed widget install script using IFRAME.
<!-- COPY this to your web page and insert your Taeggies name in appropriate places: -->
<iframe src="https://taeggie.com/embed/YOUR_TAEGGIE_NAME_GOES_HERE/iframe" scrolling="no" frameborder="0" style="border:none; overflow:hidden;" allowTransparency="true"></iframe>
@pirkka
pirkka / taeggie-feed-widget-script.html
Last active March 16, 2016 10:56
Taeggie feed widget inclusion script how-to. REQUIRES JQUERY.
<!-- COPY this to your web page and insert your Taeggies name in appropriate places: -->
<script id='taeggie-feed-widget-script-YOUR_TAEGGIES_NAME'>
jQuery.getScript("https://core.taeggie.com/embed/YOUR_TAEGGIES_NAME");
</script>
@pirkka
pirkka / taeggie-feed-widget-chillwave.css
Last active March 2, 2018 13:55
Taeggie feed widget customization example.
#taeggie-feed-widget-taeggie-square .post {
border: 4px solid black;
margin-right: 10px;
margin-bottom: 10px;
}
@pirkka
pirkka / taeggie-feed-widget-simple.css
Last active March 2, 2018 13:51
Super simple taeggie customization.
#taeggie-feed-widget-your-taeggie-name .post {
border: 4px dotted lightblue;
}