Giter Site home page Giter Site logo

lets-not-be-arrested's Introduction

lets-not-be-arrested project

日本語


JavaScript is a dangerous technology that may run malicious programs without user acknowledgement.

As a result, attaching a link to a site that runs an infinite loop of alert like the following with JavaScript the other day, a girls junior high school student was questioned and charged by the police. *1

■■■■■ (■) {
  ■■■■■ ("■");
}

Best strategy that developers can take to prevent being arrested

Delete Google Analytics

If you track the user's footprints using Google Analytics you will be arrested, so it is recommended to be deleted.

The corresponding code is here. *1

<!-- Global site tag (gtag.js) - Google Analytics -->
<■■■■■■ ■■■■■="" ■■■="■■■■■://■■■.■■■■■■■■■■■■■■■■.■■■/■■■■/■■?■■=■■-■■■■■■■■■-■"></■■■■■■>
<■■■■■■>
    ■■■■■■.■■■■■■■■■ = ■■■■■■.■■■■■■■■■ || [];

    ■■■■■■■■ ■■■■() {
        ■■■■■■■■■.■■■■(■■■■■■■■■);
    }
    ■■■■('■■', ■■■ ■■■■());

    ■■■■('■■■■■■', '■■-■■■■■■■■■-■');
</■■■■■■>

Delete JavaScript from your code.

Let's delete everything from <script> to </script> .

JavaScript will be prevented from working by deleting these codes.

Result

The result will look like this.

Do not expose yourself to JavaScript damage

Disable JavaScript in your browser

Chrome

Open the menu on the top right corner, find Settings and open. Enter javascript in the search bar. Turn off javascript so that Chrome will not allow any sites to run Javascript.

Firefox

In the address bar, enter about:config .

There will be an alert which shows that the application will be out of warranty. But remember the risk of being arrested and make sure to agree and turn it off.

Enter javascript.enabled in the search bar and double-click to switch to false.

Internet Explorer

Select the Internet options in the menu.

On the Security tab, select Customize Level.

Choose Script > Disable the Active Script and restart the browser to make it effect.

When you have found a new crime

Please fork this project and edit, then send a pull request.

It is not tied to a language, but the language I can surely read is English Japanese only.

I am looking for people who translate!

Please fork this project and edit, then send a pull request.

Questions

Q. Why is the code painted black? (*1)

A. Because I might be arrested if you post the code here. Thanks to @kazh98 for pointing out!

Q. I can't find the exact option to change my settings.

A. We know that each browser have large updates every few months. If you find any updates not configured let us know by issues or forking + pull requests.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.