He visto en paginas, que dicen que Windows 11, correrá apps de android. es eso cierto?
mi PC es kk
La foto de perfil de @Machacador es medio rara...
mi PC es kk
La foto de perfil de @Machacador es medio rara...
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes MenúCita de: marax en 26 Junio 2021, 00:16 AM
Justificar la existencia de Dios es igual de facil que justificar su inexistencia. Parece lo unico estable en este mundo, con una proporcion igual. Lo peor es que tanto uno como el otro son tareas del pensar y no realidades materiales.
Cita de: marax en 25 Junio 2021, 21:36 PM
En el mundo hay mas caos que orden.
Cita de: marax en 25 Junio 2021, 21:36 PM
Se puede notar porque la simetria es imaginaria y la prediccion exacta es imposible pero
let html = `
<button onclick="download_DT()" class="ytp-download-button ytp-button" data-tooltip-target-id="ytp-download-button" aria-label="Download Video (F3)" title="Download Video (F3)">
<img src="https://i.imgur.com/8PmMX6s.png" />
</button>
`;
for (const documentcode of document.getElementsByClassName("ytp-right-controls")) {
var OldCode = documentcode.innerHTML +'\n';
documentcode.innerHTML=OldCode + html ;
}
{
// Required
"manifest_version": 3,
"name": "My Extension",
"version": "versionString",
// Recommended
"action": {...},
"default_locale": "en",
"description": "A plain text description",
"icons": {...},
// Optional
"action": ...,
"author": ...,
"automation": ...,
"background": {
// Required
"service_worker":
},
"chrome_settings_overrides": {...},
"chrome_url_overrides": {...},
"commands": {...},
"content_capabilities": ...,
"content_scripts": [{...}],
"content_security_policy": "policyString",
"converted_from_user_script": ...,
"current_locale": ...,
"declarative_net_request": ...,
"devtools_page": "devtools.html",
"differential_fingerprint": ...,
"event_rules": [{...}],
"externally_connectable": {
"matches": ["*://*.example.com/*"]
},
"file_browser_handlers": [...],
"file_system_provider_capabilities": {
"configurable": true,
"multiple_mounts": true,
"source": "network"
},
"homepage_url": "http://path/to/homepage",
"host_permissions": [...],
"import": [{"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}],
"incognito": "spanning, split, or not_allowed",
"input_components": ...,
"key": "publicKey",
"minimum_chrome_version": "versionString",
"nacl_modules": [...],
"natively_connectable": ...,
"oauth2": ...,
"offline_enabled": true,
"omnibox": {
"keyword": "aString"
},
"optional_permissions": ["tabs"],
"options_page": "options.html",
"options_ui": {
"chrome_style": true,
"page": "options.html"
},
"permissions": ["tabs"],
"platforms": ...,
"replacement_web_app": ...,
"requirements": {...},
"sandbox": [...],
"short_name": "Short Name",
"storage": {
"managed_schema": "schema.json"
},
"system_indicator": ...,
"tts_engine": {...},
"update_url": "http://path/to/updateInfo.xml",
"version_name": "aString",
"web_accessible_resources": [...]
}
{
"background": {
"persistent": false,
"scripts": [ "common.js", "mirroring_common.js", "background_script.js" ]
},
"content_security_policy": "default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; script-src 'self' https://apis.google.com https://feedback.googleusercontent.com https://www.google.com https://www.gstatic.com; child-src https://accounts.google.com https://content.googleapis.com https://www.google.com; connect-src 'self' http://*:* https://*:*; font-src https://fonts.gstatic.com;",
"default_locale": "en",
"description": "Provider for discovery and services for mirroring of Chrome Media Router",
"differential_fingerprint": "1.3bba8f43f392ecbc35b582986edcbf7c6591081b63f3f0214f8eed1d239b0f60",
"externally_connectable": {
"ids": [ "idmofbkcelhplfjnmmdolenpigiiiecc", "ggedfkijiiammpnbdadhllnehapomdge", "njjegkblellcjnakomndbaloifhcoccg" ]
},
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDNTWJoPZ9bT32yKxuuVa9LSEYobjPoXCLX3dgsZ9djDrWKNikTECjdRe3/AFXb+v8jkmmtYQPnOgSYn06J/QodDlCIG6l470+gkOoobUM7fOs1AVOse23qYUV4jbuRW3+YZlCvaWCFeczCNbGIUgKEi5B2fyQazy60AL1sLW3utQIDAQAB",
"manifest_version": 2,
"minimum_chrome_version": "37",
"name": "Chrome Media Router",
"oauth2": {
"client_id": "919648714761-55j965o0km033psv3i9qls5mo3qtdrb0.apps.googleusercontent.com",
"scopes": [ "https://www.googleapis.com/auth/calendar.readonly", "https://www.googleapis.com/auth/hangouts", "https://www.googleapis.com/auth/hangouts.readonly", "https://www.googleapis.com/auth/meetings", "https://www.googleapis.com/auth/userinfo.email" ]
},
"permissions": [ "alarms", "cast", "declarativeWebRequest", "desktopCapture", "gcm", "http://*/*", "identity", "identity.email", "management", "mdns", "mediaRouterPrivate", "metricsPrivate", "networkingPrivate", "processes", "storage", "system.cpu", "settingsPrivate", "tabCapture", "tabs", "https://hangouts.google.com/*", "https://*.google.com/cast/chromecast/home/gsse" ],
"update_url": "https://clients2.google.com/service/update2/crx",
"version": "9121.329.0.0",
"web_accessible_resources": [ "cast_sender.js" ]
}
' ***********************************************************************
' Author : Destroyer
' Modified : 8-June-2021
' Github : https://github.com/DestroyerDarkNess
' Twitter : https://twitter.com/Destroy06933000
' ***********************************************************************
' <copyright file="DefenderWatcher.vb" company="S4Lsalsoft">
' Copyright (c) S4Lsalsoft. All rights reserved.
' </copyright>
' ***********************************************************************
#Region " Usage Examples "
' ''' <summary>
' ''' The DefenderWatcher instance to monitor Windows Defender Realtime Status Changed.
' ''' </summary>
'Friend WithEvents DefenderMon As New DefenderWatcher
' ''' ----------------------------------------------------------------------------------------------------
' ''' <summary>
' ''' Handles the <see cref="DefenderWatcher.DefenderStatusChanged"/> event of the <see cref="DefenderMon"/> instance.
' ''' </summary>
' ''' ----------------------------------------------------------------------------------------------------
' ''' <param name="sender">
' ''' The source of the event.
' ''' </param>
' '''
' ''' <param name="e">
' ''' The <see cref="DefenderWatcher.DefenderStatusChangedEventArgs"/> instance containing the event data.
' ''' </param>
' ''' ----------------------------------------------------------------------------------------------------
'Private Sub DefenderMon_DefenderStatusChanged(ByVal sender As Object, ByVal e As DefenderWatcher.DefenderStatusChangedEventArgs) Handles DefenderMon.DefenderStatusChanged
' Dim sb As New System.Text.StringBuilder
' sb.AppendLine(" Defender Configuration change - Windows Defender RealtimeMonitoring")
' sb.AppendLine(String.Format("DisableRealtimeMonitoring......: {0}", e.TargetInstance.ToString))
' sb.AppendLine(String.Format("Old Value......................: {0}", e.PreviousInstance.ToString))
' Me.BeginInvoke(Sub()
' TextBox1.Text += (sb.ToString) & Environment.NewLine & Environment.NewLine
' End Sub)
'End Sub
#End Region
#Region " Imports "
Imports System.ComponentModel
Imports System.Management
Imports System.Windows.Forms
#End Region
Namespace Core.Engine.Watcher
Public Class DefenderWatcher : Inherits NativeWindow : Implements IDisposable
#Region " Constructor "
''' ----------------------------------------------------------------------------------------------------
''' <summary>
''' Initializes a new instance of <see cref="DefenderWatcher"/> class.
''' </summary>
''' ----------------------------------------------------------------------------------------------------
<DebuggerStepThrough>
Public Sub New()
Me.events = New EventHandlerList
End Sub
#End Region
#Region " Properties "
''' ----------------------------------------------------------------------------------------------------
''' <summary>
''' Gets a value that determines whether the monitor is running.
''' </summary>
''' ----------------------------------------------------------------------------------------------------
Public ReadOnly Property IsRunning As Boolean
<DebuggerStepThrough>
Get
Return Me.isRunningB
End Get
End Property
Private isRunningB As Boolean
#End Region
Private Scope As New ManagementScope("root\Microsoft\Windows\Defender")
Private WithEvents DefenderState As ManagementEventWatcher = New ManagementEventWatcher(Scope, New WqlEventQuery("SELECT * FROM __InstanceModificationEvent WITHIN 5 WHERE TargetInstance ISA 'MSFT_MpPreference' AND TargetInstance.DisableRealtimeMonitoring=True"))
#Region " Events "
''' ----------------------------------------------------------------------------------------------------
''' <summary>
''' A list of event delegates.
''' </summary>
''' ----------------------------------------------------------------------------------------------------
Private ReadOnly events As EventHandlerList
Public Custom Event DefenderStatusChanged As EventHandler(Of DefenderStatusChangedEventArgs)
<DebuggerNonUserCode>
<DebuggerStepThrough>
AddHandler(ByVal value As EventHandler(Of DefenderStatusChangedEventArgs))
Me.events.AddHandler("DefenderStatusChangedEvent", value)
End AddHandler
<DebuggerNonUserCode>
<DebuggerStepThrough>
RemoveHandler(ByVal value As EventHandler(Of DefenderStatusChangedEventArgs))
Me.events.RemoveHandler("DefenderStatusChangedEvent", value)
End RemoveHandler
<DebuggerNonUserCode>
<DebuggerStepThrough>
RaiseEvent(ByVal sender As Object, ByVal e As DefenderStatusChangedEventArgs)
Dim handler As EventHandler(Of DefenderStatusChangedEventArgs) =
DirectCast(Me.events("DefenderStatusChangedEvent"), EventHandler(Of DefenderStatusChangedEventArgs))
If (handler IsNot Nothing) Then
handler.Invoke(sender, e)
End If
End RaiseEvent
End Event
#End Region
' Dim oInterfaceType As String = TIBase?.Properties("DisableRealtimeMonitoring")?.Value.ToString() ' Prevent Defender Disable
Public Sub DefenderState_EventArrived(ByVal sender As Object, ByVal e As EventArrivedEventArgs) Handles DefenderState.EventArrived
Dim DefenderTargetInstance As Boolean = Nothing
Dim DefenderPreviousInstance As Boolean = Nothing
Using TIBase = CType(e.NewEvent.Properties("TargetInstance").Value, ManagementBaseObject)
DefenderTargetInstance = CBool(TIBase.Properties("DisableRealtimeMonitoring").Value)
End Using
Using PIBase = CType(e.NewEvent.Properties("PreviousInstance").Value, ManagementBaseObject)
DefenderPreviousInstance = CBool(PIBase.Properties("DisableRealtimeMonitoring").Value)
End Using
Me.OnDefenderStatusChanged(New DefenderStatusChangedEventArgs(DefenderTargetInstance, DefenderPreviousInstance))
End Sub
#Region " Event Invocators "
<DebuggerStepThrough>
Protected Overridable Sub OnDefenderStatusChanged(ByVal e As DefenderStatusChangedEventArgs)
RaiseEvent DefenderStatusChanged(Me, e)
End Sub
#End Region
#Region " Events Data "
Public NotInheritable Class DefenderStatusChangedEventArgs : Inherits EventArgs
#Region " Properties "
Private ReadOnly TargetInstanceB As Boolean
Public ReadOnly Property TargetInstance As Boolean
<DebuggerStepThrough>
Get
Return Me.TargetInstanceB
End Get
End Property
Private ReadOnly PreviousInstanceB As Boolean
Public ReadOnly Property PreviousInstance As Boolean
<DebuggerStepThrough>
Get
Return Me.PreviousInstanceB
End Get
End Property
#End Region
#Region " Constructors "
<DebuggerNonUserCode>
Private Sub New()
End Sub
<DebuggerStepThrough>
Public Sub New(ByVal TI As Boolean, ByVal PI As Boolean)
Me.TargetInstanceB = TI
Me.PreviousInstanceB = PI
End Sub
#End Region
End Class
#End Region
#Region " Public Methods "
''' ----------------------------------------------------------------------------------------------------
''' <summary>
''' Starts monitoring.
''' </summary>
''' ----------------------------------------------------------------------------------------------------
''' <exception cref="Exception">
''' Monitor is already running.
''' </exception>
''' ----------------------------------------------------------------------------------------------------
<DebuggerStepThrough>
Public Overridable Sub Start()
If (Me.Handle = IntPtr.Zero) Then
MyBase.CreateHandle(New CreateParams)
DefenderState.Start()
Me.isRunningB = True
Else
Throw New Exception(message:="Monitor is already running.")
End If
End Sub
''' ----------------------------------------------------------------------------------------------------
''' <summary>
''' Stops monitoring.
''' </summary>
''' ----------------------------------------------------------------------------------------------------
''' <exception cref="Exception">
''' Monitor is already stopped.
''' </exception>
''' ----------------------------------------------------------------------------------------------------
<DebuggerStepThrough>
Public Overridable Sub [Stop]()
If (Me.Handle <> IntPtr.Zero) Then
DefenderState.Stop()
MyBase.DestroyHandle()
Me.isRunningB = False
Else
Throw New Exception(message:="Monitor is already stopped.")
End If
End Sub
#End Region
#Region " IDisposable Implementation "
''' ----------------------------------------------------------------------------------------------------
''' <summary>
''' To detect redundant calls when disposing.
''' </summary>
''' ----------------------------------------------------------------------------------------------------
Private isDisposed As Boolean
''' ----------------------------------------------------------------------------------------------------
''' <summary>
''' Releases all the resources used by this instance.
''' </summary>
''' ----------------------------------------------------------------------------------------------------
<DebuggerStepThrough>
Public Sub Dispose() Implements IDisposable.Dispose
Me.Dispose(isDisposing:=True)
GC.SuppressFinalize(obj:=Me)
End Sub
''' ----------------------------------------------------------------------------------------------------
''' <summary>
''' Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
''' Releases unmanaged and - optionally - managed resources.
''' </summary>
''' ----------------------------------------------------------------------------------------------------
''' <param name="isDisposing">
''' <see langword="True"/> to release both managed and unmanaged resources;
''' <see langword="False"/> to release only unmanaged resources.
''' </param>
''' ----------------------------------------------------------------------------------------------------
<DebuggerStepThrough>
Protected Overridable Sub Dispose(ByVal isDisposing As Boolean)
If (Not Me.isDisposed) AndAlso (isDisposing) Then
Me.events.Dispose()
Me.Stop()
End If
Me.isDisposed = True
End Sub
#End Region
End Class
End Namespace