


How to change or invalidate a script on the page? _html/css_WEB-ITnose
There is a script in the browsed page that prevents menus and content selection. As follows:
.....
.....
How to make it invalid? ?
Note: If you don’t want to disable scripts, other scripts are still useful!
There are also code methods found online
================================= =========================
Create a new text document on the desktop, and enter the following code into the document.
[InternetShortcut]
URL=javascript:function document.
oncontextmenu(){return true;}function
document.onselectstart(){return true;}function
document.onsdragstart() {return true;}
(Note: All punctuation marks are in English, otherwise it cannot be executed)
Save the notepad with the file name of "unrestriction.url", the save type is "all files", and finally select The saved location is the "Links" folder under the current system favorites directory (for example: D Favorites Link). Open the IE browser, right-click the mouse on the toolbar, enable the "Link" toolbar, so that "Unrestriction" will appear here as a small button. In the future, when you see a webpage that needs to be cracked, just click "Unrestrict" to copy the content on the webpage.
=============================================== ================
I did it but it didn’t work.
Reply to discussion (solution)
The test page address is here:
http://www.3gonet.net. cn/show_news.asp?id=360
For the event binding method of this kind of object, you can just redefine it and overwrite the original method.
document.oncontextmenu = null;document.onselectstart = null;
Just add this code after the code you want to overwrite.
You can even use JS to execute this code directly as a function. It will overwrite the original one.
Give it a try.
Thank you upstairs.
I tried inserting the following code after it
< =new Function("event.returnValue=true;");
But it didn’t take effect.
Later, a span was inserted, and document.oncontextmenu=return true....
was executed successfully again in its onclick.
Add a question: For the page of this test address http://www.3gonet.net.cn/show_news.asp?id=360
Open the display page in IE There is an error, but it does not affect page scrolling.
Open in webbroswer (note: set wb.silent=true! Otherwise, hey), it gets stuck when scrolling.
Why does the page get stuck when silent=true is set, but not in IE? Did ie do any special processing?
I have never been exposed to WebBrowser, so I don’t know.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Many users like to download various wallpapers and videos on WallpaperEngine. Over time, they will find that more and more wallpapers are downloaded, resulting in insufficient hard disk space. At this time, the storage location of WallpaperEngine can be changed to reduce the space occupied. So let’s take a look at how to change the save path for wallpaperengine. Step 1: Click Settings under steam in the upper left corner to open the following interface. Step 2: Click Download to find the "Steam Library Folder" under the content library, and click Open above. Step 3: Click Add Library Folder, select the path you want to change to, and after adding it, right-click on the default column.

The default desktop icon font of win7 is generally white. If we use a white desktop background, the desktop icon text may not be visible. At this time, we can customize the desktop font color through the advanced appearance settings in the personalization settings. The following is Let’s take a look together. Tutorial on changing the font color of win7 desktop icons 1. Right-click a blank space on the desktop and open the "Personalization" settings. 2. Under Theme, we can directly select the desired theme to change the font color of desktop icons. 3. If you are not satisfied with these themes, you can also turn on the "Window Color" as shown in the picture. 4. Click "Advanced Appearance Settings" below 5. Change the "Project" at the icon location to "Desktop" 6. Then you can change various attributes such as font color and size in the red box

Want to copy a page in Microsoft Word and keep the formatting intact? This is a smart idea because duplicating pages in Word can be a useful time-saving technique when you want to create multiple copies of a specific document layout or format. This guide will walk you through the step-by-step process of copying pages in Word, whether you are creating a template or copying a specific page in a document. These simple instructions are designed to help you easily recreate your page without having to start from scratch. Why copy pages in Microsoft Word? There are several reasons why copying pages in Word is very beneficial: When you have a document with a specific layout or format that you want to copy. Unlike recreating the entire page from scratch

Many users want to change the font in Notepad on Windows 11 because the default font is too small or difficult to read for them. Changing fonts is quick and easy, and in this guide, we'll show you how to customize Notepad and change the font to suit your needs. What font does Windows 11 Notepad use by default? As for the default font options, Notepad uses the Consolas font and the default font size is set to 11 pixels. How to change Notepad font size and style in Windows 11? Use the Edit menu in Notepad to click the search button and type notepad. Select Notepad from the list of results. In Notepad, click the Edit menu and select Fonts. You should now see the settings in the left pane

Teach you step by step how to change the background color in Eclipse, specific code examples are required Eclipse is a very popular integrated development environment (IDE) that is often used to write and debug Java projects. By default, the background color of Eclipse is white, but some users may wish to change the background color to suit their preference or to reduce eye strain. This article will teach you step by step how to change the background color in Eclipse and provide specific code examples. Step 1: Open Eclipse First

When the game you want to buy is not available, you can purchase it by changing the region. Do any players know how to change the region settings in the Xbox store? So let’s take a look at the introduction to changing the region settings in the Xbox store! Xbox store region settings: 1. Open windows settings - select time and language. 2. Select the region - the default should be China - select other countries and regions. 3. Select other countries and regions - enter the store - the store prompts you to refresh the content.

Properly setting the startup sequence of win7 can make our computer boot faster, but many friends don’t know how to change the startup sequence. In fact, we can change it in the registry editor. Let’s take a look at it with the editor. A specific method. Tutorial on changing the win7 startup sequence 1. Search for "Run" in the lower left corner. 2. Open the "Run" program. 3. Enter “regedit” and press Enter to confirm. 4. Find the following path "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ServiceGroupOrder" and right-click to modify the icon "list" file. 5. The position shown in the picture is from top to bottom.

How to solve the common problem of Laravel login time expiration When using Laravel to develop web applications, login authentication is a very important function. However, sometimes if a user does not operate for a long time after logging in, the page may automatically log out or the authentication may fail. This problem is relatively common. The following will introduce how to solve this problem by setting the session time and provide specific code examples. 1. Set the session expiration time in Laravel, by default sessi
