Paste Search Dynamic
Recent pastes
Get with JavaScript the screen
  1. var ratio = window.devicePixelRatio || 1;
  2. var is_touch_device = 'ontouchstart' in document.documentElement;
  3. var touch_status = (is_touch_device) ? 'touch' : 'no-touch';
  4. touch_status = ' ts:' + touch_status;
  5. var width_height = 'wh:' + screen.width + 'x' + screen.height;
  6. var client_width_height = ' cwh:' + document.documentElement.clientWidth + 'x' + document.documentElement.clientHeight;
  7. var rw = screen.width * ratio;
  8. var rh = screen.height * ratio;
  9. var ratio_width_height = ' r:' + ratio + ' rwh:' + rw + 'x' + rh;
  10. var data_string = width_height + client_width_height + ratio_width_height + touch_status;
Parsed in 0.011 seconds