Skip to content

Instantly share code, notes, and snippets.

Oria oriadam

  • Israel
Block or report user

Report or block oriadam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
oriadam / onandnow.jquery.js
Created Oct 20, 2019
add jQuery functionality `onAndNow` to add event listener and execute it once.
View onandnow.jquery.js
// call the handler now and on events
onAndNow: function(events, func) {
// TODO: Support the data object
return this.each(func).on(events, func);
View Facebook-Limiter.user.js
// ==UserScript==
// @name The Facebook Limiter
// @namespace
// @version 4
// @description Helps in your goals to limit the use of youtube/facebook to 1 hour. Edited by Oria.
// @author theKidOfArcrania
// @include http*://*
// ==/UserScript==
/* jshint -W097 */
'use strict';
oriadam / tremp.user.js
Last active Aug 26, 2019
tremp tel hai user script
View tremp.user.js
// ==UserScript==
// @name לוח טרמפים בלי חפשנים
// @namespace
// @version 0.3
// @author You
// @match*
// @grant unsafeWindow
// ==/UserScript==
unsafeWindow.setInterval(function() {
oriadam / colorValues.js
Last active Oct 3, 2019
javascript convert any color to array of rgba values
View colorValues.js
// return array of [r,g,b,a] from any valid color. if failed returns undefined
function colorValues(color)
if (!color)
if (color.toLowerCase() === 'transparent')
return [0, 0, 0, 0];
if (color[0] === '#')
if (color.length < 7)
View closest-test-for-jsperf.html
<!DOCTYPE html>
name {
display: inline-block;
width: 200px;
You can’t perform that action at this time.