Skip to content

Instantly share code, notes, and snippets.

Avatar

Pirkka Esko pirkka

View GitHub Profile
View web console test.txt
(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 Nov 21, 2016
Taeggie feed widget install script using IFRAME.
View taeggie-feed-widget-IFRAME.html
<!-- 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 Mar 16, 2016
Taeggie feed widget inclusion script how-to. REQUIRES JQUERY.
View taeggie-feed-widget-script.html
<!-- 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 Mar 2, 2018
Taeggie feed widget customization example.
View taeggie-feed-widget-chillwave.css
#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 Mar 2, 2018
Super simple taeggie customization.
View taeggie-feed-widget-simple.css
#taeggie-feed-widget-your-taeggie-name .post {
border: 4px dotted lightblue;
}