Solving “Avg. Session Duration” 00:00:00 Google Analytics

vicnumb Sep 23, 2014

Sep 23 2014

I am running a one page web service Looking through google analytics noticed recently that
Avg. Session Duration 00:00:00

Google Analytics Average 00:00:00

Google Analytics Average 00:00:00

My question was “Is my service that bad?”

Continue Reading »

No responses yet

Scale website into iframe. HTML

vicnumb Jun 21, 2013

Jun 21 2013

Website thumbnail/iframe scale integration into another website.

Building a modern website directory requires besides of each website description integration of its thumbnail/scaled iframe.

1. One of the best thumbnail solutions is phantom JS project with its screen capture ability.
The only requirement to this project is a dedicated server with ssh root access.

2. The CSS3+HTML iframe scaling solution

    width: 448px; /* scaled website screen width */
    height: 358px; /* scaled website screen height */
    padding: 0;
    overflow: hidden;
  width: 1280px; /* website screen width */
  height: 1024px; /* Website screen height */
  border: 0;
  /* iframe zoom out. Cross browser solution. Full size - 1.0; Half size - 0.5 */
  -ms-zoom: 0.35;
  -transform: scale(0.35);
  -moz-transform: scale(0.35);
  -moz-transform-origin: 0 0;
  -o-transform: scale(0.35);
  -o-transform-origin: 0 0;
  -webkit-transform: scale(0.35);
  -webkit-transform-origin: 0 0;
<p>Content before iframe</p>
<div id="scaled">
  <iframe id="scframe" src=""></iframe>
<p>Content after iframe</p>

3. Just to mention JavaScript+HTML iframe website re-size by squeezeFrame.js and Wookmark jQuery website integration and resize. jQuery solution can be integrated into any container.

One response so far

Characters Countdown Counter. JavaScript.

vicnumb May 31, 2013

May 31 2013

Every script we work on, include text forms with characters counter and limit.

The basic requirements to this program are:

  • Pure JavaScript, no frameworks.
  • As simple as possible.
  • Count text field characters.
  • Display characters count in a separate field.
  • Stop counting on getting to 0 (zero).
  • Limit new characters input on getting to 0 (zero)

Continue Reading »

One response so far

Pagination Class. PHP

vicnumb May 14, 2013

May 14 2013

Pagination is frequently used on displaying large lists that are too big to be displayed on a single page.

As a solution of displaying large lists is

  • Splitting the list into small portions.
  • Displaying one list portion per page.
  • Setting up a menu with possibility to navigate between pages.

Pagination menu coding is a time consuming job.

Continue Reading »

No responses yet

Copy to Clipboard. Javascript. Cross Browser Solution.

vicnumb Apr 16, 2013

Apr 16 2013

Doing front end coding job, some time ago appeared a interesting problem.

How to facilitate our web service utilization by adding a Copy to Clipboard Button.

The Copy to Clipboard feature appears to be very helpful for website users, as they usually don’t know how to copy content, or don’t think they need a content copy (the copy button is just a hook that makes them click copy button), or they have to run same copy to cllipboard operation multiple times on the same page and one click copy button would save them their time and efforts…

Continue Reading »

17 responses so far

Anonymous Internet Browsing. Myth or Reality.

vicnumb Apr 5, 2013

Apr 05 2013

We hear here and there Keep your information private, use proxy servers and you will never be detected.


A series of questions appear around “proxy mystery”:

  • Is information about your IP address hidden.
  • Is information about your browser hidden.
  • Is information about your computer hidden.


If you can easily hide information, can you simulate another user or another browser by changing the IP addresses and browser headers:

  • Can you change the IP address.
  • Can you simulate a browser.
  • Can you simulate a real visitor using proxy servers.

Continue Reading »

No responses yet

Characters Count. jQuery. Count Up, Count Down, Character Limit

vicnumb Mar 28, 2013

Mar 28 2013

Overwhelming majority of websites use forms for different purposes. Most forms use text fields or textareas. Many forms require characters counting or data limitations by the number of characters.
Characters are usually counted after form submission by the data processing languages, but along with internet development friendly interfaces became a must.

Submitting a form with character limitations user would like to know when the limit is reached before data is submitted.

As an appropriate language for creating friendly interfaces, character counting and data limitations is JavaScript and the most popular JavaScript library – jQuery.

Continue Reading »

One response so far

PHPMyAdmin Custom Columns Export

vicnumb Mar 18, 2013

Mar 18 2013

How to export one column of the same table, multiple columns (but not all) of the same table, multiple combined columns from different tables, just some data of mysql search result.

Continue Reading »

No responses yet

jQuery check/uncheck checkbox

vicnumb Mar 12, 2013

Mar 12 2013

Using groups of checkboxes in modern web programs is not a rare thing.
Groups of checkboxes are frequently used on group actions like selecting multiple options from a list then doing a operation over the selected list.
Check/uncheck operation is pretty simple over a small group of options: like selecting 3 checkboxes out of 3. But what if there is necessary to select between 50 or even more options? what if it is necessary to select all 50 checkboxes?

To make life easier we can use jQuery to solve this.

Continue Reading »

No responses yet

Merge MySQL Database Tables

vicnumb Mar 3, 2013

Mar 03 2013

In a script I administrate mystically disappeared part of data. Since php script is zend encrypted it is difficult to find out why data were lost, but anther problem is restoring data.

Continue Reading »

No responses yet

Older posts »