Wednesday, 5 August 2015

How To Access Blocked Websites? 6 Easy Ways



Given the current stature of the constitutional “Rights” and “Freedoms” conferred upon the public in most of the democracies, censorship and bans on trivial matters often come as a surprise. And in the era of the Internet, harassing the general public is even easier. Be it the controversial net neutrality, or restriction to access to specific websites.
If you also feel stifled by the blocked websites then here are some ways to access blocked websites:

1. Become Anonymous: Use Proxy Websites

A proxy website becomes a moderator between the user and server site. The proxy website camouflages the blocked site from the ISPs and allows you to access blocked websites. To get a proxy website for any blocked site, just perform the Google search.
Eg: Facebook Proxy Server. In case, Facebook is blocked in your institution, or you can go to
http://www.spysurfing.com/
http://proxify.us/p/ and more…

2. Use VPN

VPN or Virtual Proxy Network allows you to connect your device to a secure connection to another network over the internet. VPN enables you to access blocked websites from your home network and puts your IP address in a land far away. You can also download the apps or open the sites blocked in your country.
Check out our How To set-up VPN on Android devices without the need of any software

3. Use IP Rather Than URL

The blocked website sometimes are stored as a list of URLs and using IP of the website might work in few of the cases. To get the IP address for any website, you do a ping domain.com command in Command Prompt.
Using IP is a simple way to access blocked websites in your region. However, if the website had hidden its IP too, then it won’t open with this method.

4. Change Network Proxy In Browsers

Your college or institute might be having more than one proxy for its network. So, it happens that some websites are restricted on one proxy, but accessible in another. So, you can give a try to proxy surfing to access blocked websites in your college.
Change the advanced settings of your Firefox browser and select the Manual Proxy. Put the bypass proxy under HTTP proxy.

5. Use Google Translate

Institutes or even countries sometimes don’t ban Google Translate. So, you can bypass the restriction by converting the blocked website into some other language that you may know. Try Google Translate and see for yourself. It is yet another simple way to access blocked websites.

6. Bypass via Extensions

If the websites that are blocked by your institute or office are dynamic in nature such as Facebook or YouTube, then should give a try to these extensions. Hola and ProxMate are some extensions that you can use to access blocked websites.
These are some of the most effective and easy to use methods to circumvent the censorship that has been put on your favorite websites. Let us know which one do you prefer to access blocked websites in your region.

Sunday, 26 July 2015

JQUERY UI EVENTS CHEATSHEET

While creating the accessible multi-level dropdown navigation, I had to think a lot about which jQuery events were applicable for desktop vs mobile and mouse vs keyboard. I created a little cheatsheet for myself to reference, which turned out to be quite useful and so I thought I would share it.

THE UI EVENTS

The “UI” events I was looking to were events which invole the user interacting with an element. Here is an overview of the events -

EventDescription
.focusWhen an actionable element, e.g. a, input or button, gains focus
.blurWhen an actionable element loses focus
.focusinWhen an actionable element, or its children, gains focus
.focusoutWhen an actionable element, or its children, loses focus
.clickWhen an element is clicked
.dblclickWhen an element is double-clicked
.mousedownWhen a pointer presses on an element
.mouseupWhen a pointer releases press on an element
.mouseenterWhen a pointer enters the area of an element
.mouseleaveWhen a pointer leaves the area of an element
.mousemoveWhen a pointer moves within the area of an element
.mouseoutWhen a pointer is registered outside the area of an element after previously being registered within it
.mouseoverWhen a pointer enters the area of an element
.hoverA shorthand for both .mouseenter and .mouseleave events
.keydownWhen a key is pressed while on an element
.keyupWhen a key is released while on an element
.keypressWhen a key (not including modifier and non-printing keys such as Esc) is pressed while on an element
RESPONDING USER INTERACTIONS

The way these events are organised in the jQuery documentation can be a bit confusing. For example, the only events listed under keyboard events are .keydown, .keyup, and .keypress. However, other events can also be triggered by the keyboard.

Here is a list of the UI events and which types of user interaction each can be triggered by -

EventMouse?Keyboard?Screen Tap?
.focus✓✓✗
.blur✓✓✗
.focusin✓✓✗
.focusout✓✓✗
.click✓✓✓
.dblclick✓✗✗
.mousedown✓✗✓
.mouseup✓✗✓
.mouseenter✓✗✓
.mouseleave✓✗✓
.mousemove✓✗✓
.mouseout✓✗✓
.mouseover✓✗✓
.keydown✗✓✗
.keyup✗✓✗
.keypress✗✓✗

SCREEN TAP INTERACTIONS

Screen taps are treated very similarly to clicks. Each screen tap is almost like each time the mouse moves on screen. This is why a doubleclick cannot be registered through tapping. However, because of this, we can get some events blocking the registering of other events.
As a test, I chained all the events which can be triggered by a screen tap. When each event is registered, it is appended to a list on screen.
$('.test').on('click mousedown mouseup mouseenter mouseleave mousemove mouseout mouseover',
 function(event) {

  $('#output').append('<li>'+event.type+'</li>');
  return false;

})

When chaining all the events, the click, mousedown, and mouseup events are never registered.
But when the mousemove event was removed, the other, previosuly unregistered, events show up -
KEYBOARD INTERACTIONS When dealing with keyboard interactions, which key pressed becomes pertinent. Some events are triggered by the pressing of a particular key, while, with others, you can access the particular key that was pressed.
EventWhich Key?
.focustab key released while on target element
.blurtab key pressed while on target element
.focusintab key released while on target element or its children
.focusouttab key pressed while on target element or its children
.clickreturn key pressed while on target element
.keydownany key pressed while on target element
.keyupany key released while on target element
.keypressany key (not including modifier keys) pressed while on target element
For the events which respond to any key, we can find out which key was pressed simply -

$('.element').on('keydown keyup keypress', function(e) {
  
  // log the code of the key pressed to the console
  console.log(e.keyCode);

  if ( e.keyCode === 9 ) {
    // tab key pressed
  }
  if ( e.keyCode === 13 ) {
    // return key pressed
  }
})
 

These are some of the nuances that it helps to be aware of when chaining multiple events and targetting different interactions. I hope you find this useful!