username0x0a / tamperish Goto Github PK
View Code? Open in Web Editor NEWCSS & JavaScript snippets injection extension for Safari ๐จ๐ทโโ๏ธ๐
CSS & JavaScript snippets injection extension for Safari ๐จ๐ทโโ๏ธ๐
I want to change the font of news.ycombinator
from sans-serif
to monospaced
custom font called PragmataPro
which I have on my computer.
This is failing I also tried to use google font
using @import
in CSS but this is not working as well.
I'm trying to tweak my Plex Web interface, that is available at:
But I can't create a folder that can be seen by Tamperish.
I've tried "plex.tv" and "app.plex.tv", but in the extension menu it still says "Nothing's here yet".
What can I do?
Unlike tamperMonkey this tool does not seem to provide means to use the global JS context on the top window (in which it is injected) and thus I see no way to access the globally defined APIs added by the site's creators and those are added explicitly for allowing user scripting via such tools.
Example:
Server sent JS file:
window.someFunction = function() { ... }
Tamperish script
document.onreadystatechange = function(e) {
if (document.readyState === 'complete') {
window.someFunction(); // DOES NOT WORK as the symbol is missing.
}
}
Hi,
Running Safari Version 13.1.1 (13609.2.9.1.3) on macOS High Sierra 10.13.6, and whenever you quit Safari, you lose the ability to access your Tamperish modifications from the Tamperish button in Safari - you end up with this error message:
The only solution appears to be going through a dance of disabling Tamperish, renaming the Tampers folder, reenabling Tamperish and restarting Safari - but then it breaks again as soon as you quit Safari the next time.
Would it be possible to specify a URL instead of a local folder? For example, if I could specify a public Github repo or ghpages URL that has the same hierarchy as the local folder option, I could then share my customizations across installations without any server hierarchy needed on your part.
There would be noticeable lag and that would be the tradeoff required of users.
Hopefully Apple's strict policies on extensions would allow for this functionality, but could see that being an issue.
Naturally, I could simply clone this repo locally and make a script to pull/push changes from time to time. And that's what I'll in the mean time, but thank you for considering this feature!
Awesome work on this. Thanks for making it and making it work so flawlessly.
Is it possible to exclude a domain, so that Tamperish doesn't apply global scripts to it? I have in mind something like Tampermonkey's @exclude
parameter. Thanks.
Crashes Safari immediately on launch in macOS Monterey beta 9 (21A5543b). No Safari window shown, just crash dialog. Removed Tamperish, Safari working again.
Have a single CSS tweak hiding the right sidebar on Twitter Web.
Looking at the browser console, I sometimes see Tamperish's [Tamperish] Injecting filename.ext โ youtube.com
being logged multiple times, as well as injected scripts' logs being duplicated. Sometimes hundreds of times, causing concern for resource usage.
I found a case where scripts were injected 211 times, a specific question on StackOverflow, while other questions don't cause this behavior. An example of a site that does not cause this behavior is example.com.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.