This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Poalim - Hide zero notifications | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-03-27 | |
// @description Hide notifications red circle if it is 0 | |
// @author Shmulik Flint | |
// @match https://login.bankhapoalim.co.il/ng-portals/rb/he/* | |
// @match https://www.bankhapoalim.co.il/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=co.il | |
// @downloadURL https://gist.github.com/splintor/ff2c36b0ecadfac01bf528ca21ea9694/raw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Add metaSiteId to Wix sites header | |
// @namespace https://shmulikf.wixsite.com | |
// @version 0.1 | |
// @description Make it easy to get the metasiteId of a Wix site | |
// @author Shmulik Flint | |
// @match https://*.wixsite.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=wixsite.com | |
// @downloadURL https://gist.githubusercontent.com/splintor/4c5191114b0a80d4309339635dd4b051/raw | |
// @updateURL https://gist.githubusercontent.com/splintor/4c5191114b0a80d4309339635dd4b051/raw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name WhatsApp - restore focus to search box | |
// @namespace https://splintor.github.io/ | |
// @version 0.2 | |
// @description When user clears search box, focus moves to the first entry in the list. It's annoying! | |
// @author Shmulik Flint | |
// @match https://web.whatsapp.com/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=whatsapp.com | |
// @downloadURL https://gist.githubusercontent.com/splintor/c56f9ba873ce14d2efc1b6238993de8d/raw | |
// @updateURL https://gist.githubusercontent.com/splintor/c56f9ba873ce14d2efc1b6238993de8d/raw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "object", | |
"additionalProperties": false, | |
"properties": { | |
"initiator": { | |
"type": "object", | |
"additionalProperties": false, | |
"required": [ | |
"initiatorType", | |
"triggerSchemaParamMapping" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name TeamCity - Add direct link to Falcon tab | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Add a link that opens the Falcon tab directly | |
// @author Shmulik Flint | |
// @match https://falcon.dev.wixpress.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=wixpress.com | |
// @downloadURL https://gist.githubusercontent.com/splintor/88be4201fef1b9efd35e1382e26347ca/raw | |
// @updateURL https://gist.githubusercontent.com/splintor/88be4201fef1b9efd35e1382e26347ca/raw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name JIRA Meetinator | |
// @namespace http://shmulikf.wix.com/ | |
// @version 1.0.6 | |
// @description Improve team meeting experience in Jira: Enable randomly selecting a team member, set time limit for each team member, celebrate completion, show time statistics. | |
// @author Shmulik Flint | |
// @match https://jira.wixpress.com/secure/RapidBoard.jspa* | |
// @icon https://jira.wixpress.com/s/-8bjowq/813009/g345zt/_/images/fav-jsw.png | |
// @downloadURL https://gist.githubusercontent.com/splintor/f10c20926335324c6ff8e007439ed64c/raw | |
// @updateURL https://gist.githubusercontent.com/splintor/f10c20926335324c6ff8e007439ed64c/raw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import firebase from 'firebase/app'; | |
import { getFirebaseToken } from './getFirebaseToken'; | |
describe('getFirebaseToken', () => { | |
beforeAll(() => { | |
jest.spyOn(firebase, 'initializeApp').mockImplementation(jest.fn()); | |
jest.spyOn(firebase, 'messaging').mockReturnValue({ getToken: jest.fn() }); | |
}) | |
it('should call firebase.initializeAp and firebase.messaging.getToken', async () => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import firebase from 'firebase/app'; | |
import 'firebase/messaging'; | |
import { getConfig, getPublicKey, registerServiceWorker } from './firebase'; | |
export async function getFirebaseToken() { | |
firebase.initializeApp(getConfig()); | |
return firebase.messaging().getToken({ | |
vapidKey: getPublicKey(), | |
serviceWorkerRegistration: await registerServiceWorker(), | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name JIRA Meetinator | |
// @namespace http://shmulikf.wix.com/ | |
// @version 0.15 | |
// @description Improve team meeting experience in Jira: Enable randomly selecting a team member, set time limit for each team member, celebrate completion. | |
// @author Shmulik Flint | |
// @match https://jira.wixpress.com/secure/RapidBoard.jspa* | |
// @icon https://jira.wixpress.com/s/-8bjowq/813009/g345zt/_/images/fav-jsw.png | |
// @downloadURL https://gist.githubusercontent.com/splintor/f10c20926335324c6ff8e007439ed64c/raw/JIRA-Meetinator.user.js | |
// @updateURL https://gist.githubusercontent.com/splintor/f10c20926335324c6ff8e007439ed64c/raw/JIRA-Meetinator.user.js |
NewerOlder