/* Main https://stackoverflow.com/questions/56023037/forward-email-message-with-mailapp-instead-of-gmailapp */ function forwardForever() { Logger.log('forwardForever2() START '); var labelName = "Trash" var threads = GmailApp.search("in:trash label:" + labelName); Logger.log('forwardForever2() threads.length ' + threads.length); for (var i = 0; i < threads.length; i++) { Logger.log('forwardForever2() forward id ' + threads[i].getId()); try { // try this just in case //Gmail.Users.Messages.remove('me', threads[i].getId()); var firstThread = threads[i]; var message = firstThread.getMessages()[0]; Logger.log('forwardForever2() START forward ' + message.getSubject()); message.forward("1@yahoo.com"); Logger.log('forwardForever2() DONE forward ' + message.getSubject()); } catch(e){ Logger.log('forwardForever2() ERROR id ' + threads[i].getId()); Logger.log(e); } Logger.log('forwardForever2() NEXT...'); } }
O365, SharePoint, Android, C# , SQL , Software Development, Office Productivity, Visual Studio, Business Intelligence, Software Engineering , JavaScript , JQuery , Web Service, JS & .Net FW FUN!
Friday, June 25, 2021
GMail Forward Email for all items in label
Thursday, June 24, 2021
Android 11 / LG Bloatware Uninstall/Disable to boost performance
Android 11 / LG Bloatware Uninstall/Disable to boost performance :
Use as needed:
Adb Commands : Uninstall & Disable
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
1. Disable:
Adb shell | pm disable com.lge.lgfota.permission
pm disable-user
2. UnInstall:
1. adb shell pm uninstall com.att.mobilesecurity
2. adb shell pm uninstall --user 0 com.att.mobilesecurity
These two flags respectively specify that the system app will only be uninstalled for the current user (and not all users, which is something that requires root access) and that the cache/data of the system application will be preserved
3. pm uninstall -k --user 0 com.android.service
keep app data
Disable OTA Updates:
1. Adb shell | pm disable com.lge.lgfota.permission
2. Developer Options | Disable Automatic Updates
3. Package Disabler | Disable LG Update Center
V60 Remove Bloatware
See :
*TMobile Bloat
pm uninstall -k --user 0 com.tmobile.pr.mytmobile
pm uninstall -k --user 0 com.tmobile.m1
pm uninstall -k --user 0 com.tmobile.pr.mytmobile
pm uninstall -k --user 0 com.tmobile.pr.adapt
pm uninstall -k --user 0 com.tmobile.rsuadapter.qualcomm
pm uninstall -k --user 0 com.tmobile.rsuapp
pm uninstall -k --user 0 com.tmobile.rsusrv
*Google/FB Bloat
pm disable-user com.nextradioapp.nextradio
pm disable-user com.google.android.music
pm disable-user com.google.android.videos
pm disable-user com.google.android.videos
pm disable-user com.google.android.videos
pm disable-user com.google.android.videos
pm disable-user com.facebook.system
pm disable-user com.facebook.appmanager
pm disable-user com.facebook.katana
*LG Bloat
pm uninstall -k --user 0 com.lge.theme.highcontrast
pm uninstall -k --user 0 com.lge.qmemoplus
pm uninstall -k --user 0 com.lge.qhelp
pm uninstall -k --user 0 com.lge.qhelp.application
pm uninstall -k --user 0 com.lge.bnr
pm uninstall -k --user 0 com.lge.bnr.launcher
pm uninstall -k --user 0 com.lge.music
pm uninstall -k --user 0 com.lge.email
pm uninstall -k --user 0 com.lge.exchange
pm uninstall -k --user 0 com.lge.sync
pm uninstall -k --user 0 com.lge.ia.task.informant
pm uninstall -k --user 0 com.lge.leccp
pm disable-user com.google.android.apps.tachyon //google pay
pm disable-user com.lge.fmradio
pm disable-user com.lge.lgbroadcastradioservice
pm uninstall -k --user 0 com.lge.lifetracker
pm uninstall -k --user 0 com.lge.lgworld
-- MISC TODO (Optional for me)
*Google Bloatware
pm uninstall -k --user 0 com.google.android.googlequicksearchbox
pm uninstall -k --user 0 com.google.android.gm
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.apps.docs
pm uninstall -k --user 0 com.google.android.apps.maps
pm uninstall -k --user 0 com.android.chrome
pm uninstall -k --user 0 com.google.android.apps.photos
pm uninstall -k --user 0 com.google.vr.vrcore
pm uninstall -k --user 0 com.google.android.youtube
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.google.android.talk
pm uninstall -k --user 0 com.google.android.apps.books
pm uninstall -k --user 0 com.google.android.apps.magazines
pm uninstall -k --user 0 com.google.android.apps.plus
* amazon
pm uninstall -k --user 0 com.amazon.mShop.android
pm uninstall -k --user 0 com.amazon.fv
pm uninstall -k --user 0 com.amazon.kindle
pm uninstall -k --user 0 com.amazon.mp3
pm uninstall -k --user 0 com.amazon.venezia
Enable Chrome+Edge Flags
chrome://flags/#smooth-scrolling
chrome://flags/#heavy-ad-privacy-mitigations
chrome://flags/#heavy-ad-privacy-mitigations
chrome://flags/#enable-android-dark-search
chrome://flags/#enable-force-dark
chrome://flags/#heavy-ad-privacy-mitigations
chrome://flags/#enable-zero-copy
chrome://flags/#enable-gpu-rasterization
chrome://flags/#smooth-scrolling