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
config.options.txtFadeTimer = 5000; // 5 seconds | |
var displayMessageFADEOUT=displayMessage; | |
displayMessage=function(text,linkText) | |
{ | |
displayMessageFADEOUT.apply(this, arguments); | |
ti=config.options.txtFadeTimer; | |
if(ti>0)setTimeout(clearMessage,ti); | |
} |
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
.viewer .tabSelected, | |
.viewer .tabContents { background-color: [[ColorPalette::Background]]; } /* use inherit? returns "border-bottom" to tabSelected (actually it is __) for some reason */ | |
.viewer .tabSelected:hover { color: inherit; } /* inconsistent: either switch pointer back to ~normal and make sure it doesn't do a thing or ... */ | |
.tabset { padding-left: 0; } | |
.tab { | |
display: inline-block; | |
white-space: pre-wrap; | |
position: relative; | |
bottom: -1px; |
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
// Licence: Robert Koch-Institut (RKI), dl-de/by-2-0 | |
const apiUrl = (location) => `https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_Landkreisdaten/FeatureServer/0/query?where=1%3D1&outFields=GEN,cases7_per_100k&geometry=${location.longitude.toFixed(3)}%2C${location.latitude.toFixed(3)}&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelWithin&returnGeometry=false&outSR=4326&f=json` | |
const apiUrlStates = 'https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/Coronaf%E4lle_in_den_Bundesl%E4ndern/FeatureServer/0/query?where=1%3D1&outFields=cases7_bl_per_100k&returnGeometry=false&outSR=4326&f=json' | |
const widget = await createWidget() | |
if (!config.runsInWidget) { | |
await widget.presentSmall() | |
} | |
Script.setWidget(widget) | |
Script.complete() |
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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-blue; icon-glyph: magic; | |
let storeId = 2612 | |
// HH Steinstraße | |
let country | |
let param = args.widgetParameter | |
if (param != null && param.length > 0) { | |
storeId = param | |
} |
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
<?php | |
/** | |
* Plugin Countdown: Displays countdown from a specific date | |
* Syntax: <COUNTDOWN:date|description> | |
* date has to be formatted as GNU date (see strtotime) | |
* e.g. <COUNTDOWN:yyyy-mm-dd|description> | |
* <COUNTDOWN:mm/dd/yyy|description> | |
* | |
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html) | |
* @author Ekkart Kleinod <ekkart [at] ekkart.de> (V 2.x) |
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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: red; icon-glyph: calendar-alt; | |
// NOTE: this currently only works in beta because it takes advantage of the widgetStack and URL scheme for on-tap. | |
// TEST MODE: run the first time with it true to get access to your calendars; you can also run the sample Scriptable overdue Reminders script to get access to your reminders | |
const TEST_MODE = false | |
// CALENDAR/REMINDERS SETUP: calendar and reminder names should match what's shown in the Calendar and Reminder apps |
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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: orange; icon-glyph: sun-2; | |
/////////////////////////////////////////////////////////////////////// | |
// dawn2dusk.js | |
// Take it and have fun. | |
// Hendrik Runte, Oct 24, 2020. | |
/////////////////////////////////////////////////////////////////////// | |
// Extending the JavaScritp Date object. |
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
// Wheat flour icon made by Freepik from www.flaticon.com and modified by achisto | |
// Toilet paper icon made by boettges | |
let country = 'de' // replace with 'at' for shops in Austria | |
let storeId = 251 | |
let param = args.widgetParameter | |
if (param != null && param.length > 0) { | |
storeId = param | |
} |
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
/* Hide address-bar AND Tabs unless mouse over https://www.reddit.com/r/FirefoxCSS/comments/hyqj5y/hide_addressbar_and_tabs_unless_mouse_over/ */ | |
#nav-bar { | |
/* customize this value. */ | |
--navbar-margin: -32px; | |
margin-top: 0; | |
margin-bottom: var(--navbar-margin); | |
z-index: -100; | |
} | |
#navigator-toolbox:focus-within > #nav-bar, |
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
/* Github: https://github.com/aris-t2/customcssforfx /statusbar_color.css **/ | |
:root { | |
/* --statusbar_background_color: silver; */ | |
--statusbar_font_color: navy; | |
} | |
:-moz-any(statuspanel,#statuspanel) { | |
-moz-appearance: none !important; | |
background: unset !important; | |
border: 0 !important; | |
} |
OlderNewer