Skip to content

Instantly share code, notes, and snippets.

View yahyaahrika's full-sized avatar

yahya ahrika yahyaahrika

View GitHub Profile
@sBuchhop
sBuchhop / fb_flash_lb_trigger.js
Created February 6, 2012 09:57
Flash Facebook Like Button Trigger
/*
Implement FBs like button in flash is horrible. But implement the iFrame button, hide it and trigger it from js is not
Just to remember this snippet
*/
function fireEvent(element,event) {
if (document.createEventObject) {
// dispatch for IE
var evt = document.createEventObject();
return element.fireEvent('on'+event,evt)
@Karthik128
Karthik128 / Facebook Popup Like Box
Last active November 10, 2016 23:16
Facebook Popup Like Box
<script type="text/javascript" language="javascript">
function ccpop()
{
document.getElementById("overlay").style.display = 'block';
}
window.onload = ccpop;
</script>
<!--CodingCrazy.com Popup Like and Subscribtion Box-->
<style>
@import url(http://fonts.googleapis.com/css?family=Electrolize);
@creativetrendsapps
creativetrendsapps / Notifications
Created January 2, 2016 15:21
FaceSlim Notifications
//Notifications WITHOUT the need for a redirect
package com.creativtrendz.folio.notifications;
import android.annotation.SuppressLint;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;