Skip to content

Instantly share code, notes, and snippets.

View ps73's full-sized avatar

Phil ps73

View GitHub Profile
@ps73
ps73 / download.js
Created August 4, 2023 13:38
Postbox Comdirect alle Dateien downloaden
// Mit folgendem Script kannst du alle Dokumente innerhalb einer Seite aus der Comdirect Postbox downladen
// Öffne die Developer Konsole deines Browsers mit "rechter Maustaste" => "Seite untersuchen"
// Anschließend oben auf Konsole bzw. Console klicken und dort folgendes eingeben:
let ahrefs = Array.from(document.querySelectorAll('table .layer__content.layer-tooltip__content a[data-tid="downloadLink"]'));
let downloadFile = (index) => {
const el = ahrefs[index];
el.click();
setTimeout(() => {
if (index < ahrefs.length - 1) downloadFile(index + 1);
}, 150);
@ps73
ps73 / react-native+0.63.3.patch
Last active July 21, 2021 18:42
React Native 0.63.3 iOS Modal Swipe Down Bugfix
diff --git a/node_modules/react-native/React/Views/RCTModalHostView.h b/node_modules/react-native/React/Views/RCTModalHostView.h
index 4e61886..2b8b6c0 100644
--- a/node_modules/react-native/React/Views/RCTModalHostView.h
+++ b/node_modules/react-native/React/Views/RCTModalHostView.h
@@ -17,7 +17,7 @@
@protocol RCTModalHostViewInteractor;
-@interface RCTModalHostView : UIView <RCTInvalidating>
+@interface RCTModalHostView : UIView <RCTInvalidating, UIAdaptivePresentationControllerDelegate>