You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
π
Mathew Tyler
MTco
π
Mathew Tyler, the man with the plans for a more equitable & sustainable society; #FutureForAll; www.TylerPresident.com, "Tell your friends about me."
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
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
Upcoming flags to enable link capturing and other PWA features. Enable these flags by copying and pasting the following, then searching for the below chrome://flags/
Enable full desktop integration: chrome://flags/#enable-desktop-pwas
Capture URLs in their scope, such as twitter URLs for the Twitter PWA: chrome://flags/#enable-desktop-pwas-link-capturingchrome://flags/#enable-desktop-pwas-stay-in-window
Get a pop-up that offers to allow the PWA to open certain URLs:
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
Simple bookmarklet that captures any webpage and save as png image using HTML5 technologies
Webpage Snapshot Bookmarklet
This is a simple bookmarklet that captures any webpage and save as png image using HTML5 technologies.
Under the hood it uses HTML2Canvas to capture the webpage to canvas,
then we convert the content inside this canvas element to image file.
You may copy the text below and save as bookmark.
`javascript:!function()%7Bfunction%20e()%7Bthis&&this.parentNode&&this.parentNode.removeChild(this),html2canvas(document.body).then(function(e)%7Breturn%20new%20Promise(function(t)%7Be.toBlob(t)%7D)%7D).then(function(e)%7Bvar%20t=document.createElement(%22a%22);return%20t.href=URL.createObjectURL(e),t.download=document.title.replace(/%5B/%5C%7C%5C%5C%60~!@#%5C$%25%5C%5E&%5C*%5C+%5C-='%22%5C,%5C.:;%5D+/g,%22%22)+%22_%22+(new%20Date).getTime()+%22.png%22,t.click(),new%20Promise(function(e)%7BsetTimeout(10,e,t)%7D)%7D).then(function(e)%7B0===e.href.indexOf(%22blob:%22)&&(URL.revokeObjectURL(e.href),e.href=%22###%22)%7D).catch(function(e)%7Bconsole.error(e)
Using DNSMasq as a caching nameserver & add in a malware etc blocking
Assuming a Properly configured DNSMasq
a quickstart for dnsmasq is given at the end if you have not set it up yet.
something like this will add a great regularly updated malware file for it to use. More security and privacy to you!
Specifically, this uses https://github.com/StevenBlack/hosts Choose one of the Raw Hosts file from there to use.
Polyfills localStorage and sessionStorage when cookies are disabled.
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
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
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
A Firefox Quantum ViewSourceWith extension workaround with Firefox's source.editor.external
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