Scrip: Facebook Like Popup – Forcing People to Like

How can I get more people to like my page?" Of course, this isn't a simple, single post answer (I have an entire module in The Social Business Academy that is about only this!), but there is one really easy tip I can give you that will help you get more likes right away.

Make sure that your Facebook profile links directly to your Facebook page. When you setup your Facebook profile you have the option of adding where you work. This is where you can create a link to your Facebook page. Andyes, you can even edit it if you already have it setup incorrectly

Features

• Display the facebook lightbox onload with or without a delay
• Limit the lightbox to once every x days per individual visitors
• Promote your own facebook fanpage
• Facebook page is needed (of course!)
• No api key needed (works with iframe, premium version uses xfbml)

Scrip: Facebook Like Popup – Forcing People to Like

Past under the <head>

---------------------------------------------------------
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'></script>

Past code below over the </body>

----------------------------------------------------------

<!-- facebook like box starts -->
<!-- popup box stylings -->
<style type='text/css'>
#fb-back { display: none; background: rgba(0,0,0,0.8);   width: 100%; height: 100%; position: fixed; top: 0;   left: 0; z-index: 99999;}
#fb-exit { width: 100%; height: 100%; }
.fb-box-inner { width:300px; position: relative; display:block; padding: 20px 0px 0px; margin:0 auto; text-align:center; }
#fb-close { cursor: pointer; position: absolute; top: 5px; right: 5px; font-size: 18px; font-weight:700; color: #000; z-index: 99999; display:inline-block; line-height: 18px; height:18px;width: 18px; }
#fb-close:hover { color:#06c; }
#fb-box { min-width: 300px; min-height: 120px; position: absolute; top: 50%; left: 50%; margin: -220px 0 0 -150px; -webkit-box-shadow: 0px 0px 16px #000; -moz-box-shadow: 0px 0px 16px #000; box-shadow: 0px 0px 16px #000;
background: #fff; /* pop up box bg color */

}
.fb-box-inner h3 { line-height: 1; margin:0 auto; text-transform:none;letter-spacing:none;
font-size: 23px!important;  /* header size */
color:#06c!important; /* header color */
}
.fb-box-inner p { line-height: 1; margin:0 auto 20px;text-transform:none;letter-spacing:none;
font-size: 13px!important; /* header size  */
color:#333!important; /* text color */
}
a.fb-link { position:relative;margin: 0 auto; display: block; text-align:center; color: #333; /* link color */
bottom: -30px;
}
#fb-box h3,#fb-box p, a.fb-link { max-width:290px; padding:0; }
</style>
<!-- facebook plugin -->
<div id='fb-back'>
<div id='fb-exit'>
</div>
<div id='fb-box'>
<div class='fb-box-inner'>
<div id='fb-close'>X</div>
<!-- edit your popup header text here -->
<center><div style='font-size:20px;margin:0 auto;color:#000;'>Like Social Daily Times! </div><br/></center>
<!-- edit your supporting text here -->
<!-- edit your fb name below -->
<div class='fb-like' data-action='like' data-href='https://www.facebook.com/socialdailytimes.ml' data-layout='button' data-share='false' data-show-faces='false'></div>
<style>
.fb-like { overflow: hidden; height: 20px;}
</style>
<!-- edit your supporting link here -->
</div>
</div>
</div>
<!-- popup plug-in snippet -->
<script type='text/javascript'>
//<![CDATA[
//grab user's browser info and calculates/saves first visit
jQuery.cookie = function (key, value, options) { if (arguments.length > 1 && String(value) !== "[object Object]") { options = jQuery.extend({}, options); if (value === null || value === undefined) { options.expires = -1; }
if (typeof options.expires === 'number') { var days = options.expires,  t = options.expires = new Date();  t.setDate(t.getDate() + days); } value = String(value); return (document.cookie = [encodeURIComponent(key), '=', options.raw ? value : encodeURIComponent(value), options.expires ? '; expires=' + options.expires.toUTCString() : '', options.path ? '; path=' + options.path : '', options.domain ? '; domain=' + options.domain : '', options.secure ? '; secure' : ''].join('')); }
options = value || {}; var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent; return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null; };
// the pop up actions
$(function ($) {
  if ($.cookie('popup_fb') != 'yes') {
    $('#fb-back').delay(10000).fadeIn("slow"); // options slow or fast
    $('#fb-close, #fb-exit').click(function () {
      $('#fb-back').stop().fadeOut("slow"); // options slow or fast
    });
 }
//initiate popup function by setting up the cookie expiring time
$.cookie('popup_fb', 'yes', { path: '/', expires: 1 });
});
//]]>
</script>
<!-- facebook like box ends -->
<!-- YT Code -->
<script>
      var player;
      function onYouTubeIframeAPIReady() {
        player = new YT.Player( 'player', {
          events: { 'onStateChange': onPlayerStateChange }
        });
      }
      function onPlayerStateChange(event) {
        switch(event.data) {
          case 0:
            document.getElementById("content").style.display = 'block';
            
}
      }
      function record(str){
        var p = document.createElement("p");
        p.appendChild(document.createTextNode(str));
        document.body.appendChild(p);
      }
    </script>
<script src='https://www.youtube.com/iframe_api'></script>
<!-- YT Code -->
<style>
#content{
    display:none;
}
</style>
<div id='content'>
<!-- Share Facebook and Facebook like box starts -->
<!-- popup box stylings -->
<style type='text/css'>
#share-back { display: none; background: rgba(0,0,0,0.8);   width: 100%; height: 100%; position: fixed; top: 0;   left: 0; z-index: 99999;}
#share-exit { width: 100%; height: 100%; }
.share-box-inner { width:300px; position: relative; display:block; padding: 5px 0px 0px; margin:0 auto; text-align:center; }
#share-close { cursor: pointer;margin-top:5px; font-size: 20px; font-weight:700; color: #667; text-align: center;}
#share-close:hover {color: #D22321;}

#share-box { min-width: 300px; min-height: 300px; position: absolute; top: 45%; left: 50%; margin: -220px 0 0 -150px; -webkit-box-shadow: 0px 0px 16px #000; -moz-box-shadow: 0px 0px 16px #000; box-shadow: 0px 0px 16px #000;
background: #fff; /* pop up box bg color */

}
.share-box-inner h3 { line-height: 1; margin:0 auto; text-transform:none;letter-spacing:none;
font-size: 23px!important;  /* header size */
color:#06c!important; /* header color */
}
.share-box-inner p { line-height: 1; margin:0 auto 20px;text-transform:none;letter-spacing:none;
font-size: 13px!important; /* header size  */
color:#333!important; /* text color */
}
a.fb-link { position:relative;margin: 0 auto; display: block; text-align:center; color: #333; /* link color */
bottom: -30px;
}
#share-box h3,#share-box p, a.fb-link { max-width:290px; padding:0; }
</style>
<script type='text/javascript'>
//<![CDATA[
//grab user's browser info and calculates/saves first visit
jQuery.cookie = function (key, value, options) { if (arguments.length > 1 && String(value) !== "[object Object]") { options = jQuery.extend({}, options); if (value === null || value === undefined) { options.expires = -1; }
if (typeof options.expires === 'number') { var days = options.expires,  t = options.expires = new Date();  t.setDate(t.getDate() + days); } value = String(value); return (document.cookie = [encodeURIComponent(key), '=', options.raw ? value : encodeURIComponent(value), options.expires ? '; expires=' + options.expires.toUTCString() : '', options.path ? '; path=' + options.path : '', options.domain ? '; domain=' + options.domain : '', options.secure ? '; secure' : ''].join('')); }
options = value || {}; var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent; return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null; };
// the pop up actions
$(function ($) {
  if ($.cookie('popup_fb2') != 'yes') {
    $('#share-back').delay(2000).fadeIn("slow"); // options slow or fast
$(document).keyup(function(e) {
     if (e.keyCode == 27) { // escape key maps to keycode `27`
        $('#share-back').stop().fadeOut("slow"); // options slow or fast
    }
});


    $('#share-close, #share-exit').click(function () {
      $('#share-back').stop().fadeOut("slow"); // options slow or fast
    });
 }
//initiate popup function by setting up the cookie expiring time
$.cookie('popup_fb2', 'yes', { path: '/', expires: 0 });
});
//]]>
</script>
<!-- Share Facebook and Facebook like box ends --></div>

Download Scrip Below.txt
 download scrip fb popup

How To create Any contrivance Sticky

How To create Any contrivance Sticky


When you traveling scrolls down your journal to look at a lot of content, the higher portion of your journal goes out the window from the highest to form means for the lower portion that enters from all-time low.

Now what we have a tendency to ar aiming to do is stick your chosen contrivance to the highest fringe of the window because it is near to leave, so creating the contrivance visible in any respect time whereas the traveler scrolls. it'll float there till its original location comes back once the page is scrolled copy.

This trick is applicable to associate degreey contrivance or part that has an ID, notwithstanding its location on your journal. it's good for navigation bar, subscription box and social media sharing buttons.

See it in action, scroll down this post and keep your eyes on the highest menu bar.


How to install


Paste the subsequent code on top of the &lt;/body&gt; tag in your templet. 

Or if you like to not bit the templet, you'll be able to merely paste it in a very HTML/Javascript (in Blogger) or a Text contrivance (in WordPress). If you decide on this route, ensure you position this contrivance below (after) the contrivance that you simply need to form sticky.

<script>
// Sticky widget by Bloggersentral.com
// Tutorial at http://www.bloggersentral.com/2013/04/how-to-make-any-widget-sticky.html
// Free to use or share, but please keep this notice intact.
//<![CDATA[
bs_makeSticky("YOUR_WIDGET_ID"); // enter your widget ID here
function bs_makeSticky(elem) {
var bs_sticky = document.getElementById(elem);
var scrollee = document.createElement("div");
bs_sticky.parentNode.insertBefore(scrollee, bs_sticky);
var width = bs_sticky.offsetWidth;
var iniClass = bs_sticky.className + ' bs_sticky';
window.addEventListener('scroll', bs_sticking, false);
function bs_sticking() {
var rect = scrollee.getBoundingClientRect();
if (rect.top < 0) {
bs_sticky.className = iniClass + ' bs_sticking';
bs_sticky.style.width = width + "px";
} else {
bs_sticky.className = iniClass;
}
}
}
//]]>
</script>

<style>
.bs_sticking {background:#f2f2f2 !important; position:fixed !important; top:0; z-index:9999; box-shadow:0px 10px 4px -5px rgba(0,0,0,0.3); margin-top: 0; position:relative\9 !important;}
</style>


1. Get the ID of the widget or element you want to make sticky and enter it in line 6 (replacing "YOUR_WIDGET_ID"). For example let's say the widget ID is HTML9, then code line 6 would become:

bs_makeSticky("HTML9");
Preview before saving.

Styling

  • Styling for the sticky widget while it's sticking can be applied in line 28.
  • Background and box-shadow are optional. However you might want to keep the background (and replace the color to match your sidebar's). Most templates do not assign a background to widgets meaning you can see the content scrolling in the background.

Enjoy!
DOWNLOAD HERE

How to disable the right mouse & Alert Massage Pop up.

This tip is very simple; It is about how to hide the displayed by the right mouse click menu. And thanks to him, you can see part of your code for use on websites, hot linking or down your images, copy your text or simple aesthetics, among other things ...

But how is that I customize?  To hide just simply add the following lines above the </body>

When You Right Click Here What's You See.! 


If you want to be like this click and download the scrip below.

*****when right click pop up alert image****
-------------------------------------------------------
put the code below before the </body>
-------------------------------------------------------
<script>
// Disable Right Click  and Pop up Massage
var DADrccolor = "#F1F1F1";
var DADrcimage = "http://goo.gl/kAk0UG";
</script>
<script src='http://yourjavascript.com/2122535051/antirightclick.js' type='text/javascript'></script>

<script type="text/javascript">
if (window.jstiming) window.jstiming.load.tick('widgetJsBefore');
</script>

The highlight is the image we set for alert pop up you can change and insert new image as what you want. 

Enjoy.! 
click to here.txt
 download script here

Disable Ctrl+U [Page Source] of your website using JavaScript


I have as of late debilitated the "ctrl+u" highlight of my site and the main reason I did it since I have begun to notice that the greater part of my substance are getting duplicated. I never suspected that a few bloggers would even experience my page source and take my substance. 

Amazing! The principal thing I did on my online journal was handicap the substance determination and right snap and I suspected that is it, my website is protected. Be that as it may, later on, I came to realize that there's some more courses for taking substance and they are notwithstanding doing it. Along these lines, I made sense of an approach to impair seeing my page source utilizing alternate route keys [Ctrl+U] furthermore, there's one all the more approach to take substance, which is Ctrl+P (Print) and I crippled that one as well. To ensure your work, you should do these strides. Here's the means by which your can cripple Ctrl + U of your site- 



Note: If you disable Ctrl+U of your page, individuals will in any case have the capacity to see your page source on the off chance that you don't impair your right snap too. Click here to perceive how you can handicap right snap of your site. 

To cripple Ctrl+U, you simply need to put the beneath script over the end </head> tag.

<script type="text/javascript">
document.onkeydown = function (cc) {
if(cc.which == 85){
return false;
}
}
</script>

That’s all you need to do to disable viewing of your page source using shortcut keys. But to disable Ctrl+P along with Ctrl+U, use the below script instead.

<script type="text/javascript">
document.onkeydown = function (cc) {
if(cc.which == 85){
return false;
}
if(cc.which == 80){
return false;
}
}
</script>

The script actually disables just the ‘U’ and ‘P’ button which is all we need. Users will still be able to use other shortcut keys like ‘Ctrl C’ and ‘Ctrl A’. If you came here looking for some script to disable viewing page source because that’s how your contents are getting copied. Then you must disable other functions too, like content selection and all.

When you see that your contents are getting copied, don’t panic! Fight it. Here are the list of things you can do-

1. Disable content selection.
2. Disable right click.
3. Disable some specific keys like I have showed you on this one.

And the best thing you can do is file a complain to Google. Use this form to complain about the copied content. If the owner is using Google’s blogger, then they will surely take some serious action. If they find you right, then Google will either delete the content, or the entire blog or simply remove the copied content from the search results.


download script here.txt

Disable Ctrl+U [Page Source] of your website using JavaScript