What is custom scripts. Custom scripts in the browser

Custom scripts The browser is programs written on JavaScript performed in the user's browser when loading the page. They allow you to automatically fill in forms, reformat the pages, hide the unwanted contents and embed the desired content to display the contents, change the behavior of the client part of web applications, add controls to the page, etc.

To manage user scripts in Mozillafirefox uses GreaseEmonKey extension; GoogleChrome operae provides user script support tools and features to perform a range of GreaseEmonKey scripts.

Server applications

Applications written in JavaScript can be executed on servers using Java 6 or more late versions . This circumstance is used to build server applications that allow you to process JavaScript on the server side.

In addition to Java 6, there are a number of platforms using existing engines (interpreters) JavaScript to execute server applications. (As a rule, we are talking about re-use Engines previously created to execute JavaScript code in www browsers.)

Practical part

In this course work we will use free program To create a website - a mini-site. In this program, we can prepare the main template of our site, block marking, block sizes, prepare the necessary pages and so on.

For the subject of the site, the official website of IFHIbpp wounds was taken, the site of which was designed for CMSJoomla!

When creating a site, we will analyze the source code of our main HTML page and see what it consists of.

Any page written in HTMLLs should contain the following rows or tags:

1.

This code is present in absolutely in each document, it tells the browser that everything placed between these tags is HTML code. It is the root of the document itself, everything that is currently present behind this tag is no longer included in the document and is not perceived by browsers. At the very beginning of the document, the tag opens and at the very end it must necessarily be closed.

2.

The entire section of this tag contains all technical information Document. Like the previous tag, the head should also be opened and is closed at the end. This information includes a page title, its description, keywords for search engines and encoding. About the encoding is slightly lower.

3.

This tag is included in HEAD, it must be written inside the Head tag. This title tag is mandatory and must be present in each hTML Documente. In addition to this, it is displayed as a browser window title. The length of such a header should not exceed 60 characters. The text of such a header should contain the most complete information that characterizes the content of the page.


After the required Title tag, it is optional, but not a little important META tag. This tag is single. Using this tag, the description is set for the page (Description) and its keywords (Keywords).

In addition, in tag Meta. There may be data about the author of the page and other properties of metadata. You can prohibit indexing the page as a whole for search engines. Put automatic update Pages after 20 seconds or in 5 seconds, followed by the transition to another page.

These META elements may be somewhat, as they can carry absolutely different information. The rest of users when open the page in the browser, do not see all your descriptions, all this remains hidden from the eyes.

5.

Says the browser that all placed between these tags should be displayed in the window of your browser. Here are the main tags that may be present in each document. Body tag serves as the main body of the page, which includes all its contents. This tag is advisable to open and at the end of the document do not forget to close.

6. DOCTYPE element

Each document should also be specified here than the DOCTYPE element. What is it needed and what should be in it. Usually, the people are not much enjoyed by these lines, copy themselves into documents and work calmly. These items say the browser, which version of HTML is used in the document, what is the description of the page that the encoding is used, what keywords are included, who is the author and what is called the page.

They are usually put at the very beginning. There are several options and they all differ from each other, I will write one example, which is used most often. This workpiece can be used as a ready-made pattern. Next will be a clear description of each line, there should be no problems with this.

This is the main page of the site.

The main structure of the site is built. The remaining pages of our site consist of the same major tags with the addition of others that are necessary for beautiful decor, creating tables, creating a menu, connect java scripts and so on.

Now a little words about javascript.

1. In order to implement JavaScript code in an HTML document, it is enough to register it inside the tag. For example:

//Код JavaScript

2. Для того чтобы подключить отдельный файл кода JavaScript, достаточно прописать следующий код:

In this script, the main operation is GetelementByid. This feature is looking for elements in an HTML document, by the value of their id attribute \u003d "value". The InnerhTML property takes into account the styles of the elements, namely the element is displayed or not, and, therefore, its contents in the browser. The last example of javascript is a small questionnaire, when filling out which the script gives you the information you entered.
When you click on the "Send" button, we have the following: Now consider the second version of the use of JavaScript with the connection of a separate HighSlide.js file. This script increases and reduces the image when pressed it. An example is the photo gallery of the site.
Here are connected
And accordingly, when you click on the image, you are querying the HighSlide.js file

What is user scripts?

Briefly: userskript. - This is a program written in language. Javascript.Stores on the user's computer and the browser connected on certain pages. User script is an extension file .user.js. (It is according to the expansion of browsers understand that the file is a user driver) containing metadata and directly javascript.-the code.

Connecting user scripts:

To install the script, you must click on the GREACEMONKEY icon and select the item "Create a script ..."

After that, a window will open for entering the script. All code In the window, you must delete and paste any script from the list of finished, then click "Save" and update the site page.

List of ready user scripts:

Disable custom styles:

// \u003d\u003d Userscript \u003d\u003d // @Name SHIKI User Style Remove // \u200b\u200b@NameSpace http: // site // @Version 1.0 // @Description Disabled Shiki User Styles // @updateurl https://openuserjs.org/ Meta / kaur / shiki_user_style_remove.meta..org / * // @ogrant none // \u003d\u003d / Userscript \u003d\u003d var func \u003d function () ($ ("# Custom_CSS"). Remove ();); $ (Document) .ready (FUNC); $ (Document) .on ("Page: Load", Func); $ (Document) .on ("Turbolinks: Load", Func);

The real rating of Shikimori (the default MAL rating is displayed:
318x181
Latest version and discussion in a separate topic
Author @ Oniii-Chan

Display dates in history:
1184x249.
To display the date in Russian, replace EN-GB on RU-RU.

1..org / * // @match http: // site // * @ogrant none // \u003d\u003d / userscript \u003d\u003d var func \u003d function () ("Use Strict"; $ ("Date"). Text (Function () (Return ("DateTime"). Tolocaledatestring ("EN-GB", (Day: "Numeric", Month: "Short" , HOUR: "NUMERIC", MINUTE: "NUMERIC")));));); $ (Document) .ready (FUNC); $ (Document) .on ("Page: Load", Func); $ (Document) .on ("Turbolinks: Load", Func); $ (Document) .on ("PostLoader: Success", Func);

Button for scrolling to position Pressing the "Up" button on the left side of the screen
The script adds the button on the left side of the screen, which is identical to the button "upstream", but moves down to the position of pressing the button "Up", such a mechanic is implemented in Tape VK

where 500 is written - the speed of scrolling on the back position, 500 I counted sufficient
to change this item, it seems to add an effect with Hover, you need to use the class.B-to-back and write the appropriate rule in CSS


// \u003d\u003d Userscript \u003d\u003d // @Name Back to the Last Possition: Shikimori // @NameSpace http: // Site // @Version 1.0 // @Description TRY TO TAKE OVER THE WORLD! .ORG / * // @grant none // \u003d\u003d / Userscript \u003d\u003d var scroll_bottom \u003d 0; $ ("b-to-top"). CSS ("z-index", "10"); $ (". b-to-top"). click (function \u003d $ ("body"). ScrollTop (); $ ("Body"). Append ("

"); $ (". b-to-back "). click (function () ($ (" HTML, BODY "). Animate ((ScrollTop: scroll_bottom), 500); $ (". B-to-back ") .remove ();));));

Automatic hide menu when scrolling.
The menu is hidden when scrolling down. Scroll up, hovering the cursor on the top of the village and scrolling to the end of the page causes the menu to appear again. Installation through the site GreatyFork.org:

Daily Installs 904 Total Installs 500,637 Ratings 90 10 51 Created 2019-04-27 Updated 2019-04-27
  • Krunker 1.9.6 AIMBOT AND AUTO AIM HACK - We Have Been Having Issues With GreasyFork So I Moved The Script to Docs So Link is https://docs.google.com/document/d/1ir39kpgyizrle7yvvjqgolwh_r5lu36re1saq3x4bjq/edit?usp\u003dsharing

    Author Zack Rowell. Daily Installs 699 Total Installs 10,841 Ratings 3 1 1 Created 2020-01-09 Updated 2020-01-15
  • Vip Video Tencent, Iqiyi, MgTV, Youku, Blibili, Sohu, Tudou (2020.01.23) - Tencent, Iqiyi, MgTV, Youku, Letv, Bilibili, Sohu, Tudou, 1905 (Containing Google Ads)

    Author Hopetime. Daily Installs 664 Total Installs 15,092 Ratings 19 0 1 Created 2020-01-01 Updated 2020-01-23
  • Moomod | The Hack to Moomoo.io | ONLY UPTADE! (AHT) (2020) - Moomod | Best Hack! 10,000 Install! All-Hack-in-One! FEALTURE "S: 【Moomod About Menu】 【Moomod Modife Menu】 【AutoHeal 3X】 【Instakill R】 【Hat-Hacking Deffence and Deffence】 【Moomod-Map】 【Hotkey" V-Spike F -Trap / Boostpad h-turret n-windmill】 【Circle "s l-spikecircle o-trapcircle i-windmillcircle u-turretcircle】 【Katana Key-< OR ,】【Musket Key- > OR.】 【Hat-macro z-tankgear c-turretgear b-soldierhelmet】

    Author ¿BEXTİYAR ¿ Daily Installs 530 Total Installs 13,911 Ratings 4 3 1 Created 2019-11-27 Updated 2020-01-23
  • Krunker.io Hack - Krunker.io Hacks

    Author IAN. Daily Installs 449 Total Installs 968 Ratings 0 0 1 Created 2020-01-21 Updated 2020-01-21
  • Local YouTube Downloader - Get YouTube Raw Link without External Service.

    Author 3142 Maple. Daily Installs 491 Total Installs 199,996 Ratings 662 8 8 Created 2018-06-10 Updated 2020-01-01
  • Remove Web Limits (Modified) - Pass to Kill Most of the Site, You Can Lift The Restrictions Prohibited to Copy, Cut, Select The Text, Right-Click Menu.Revised Version

    Author qXIN I. Daily Installs 324 Total Installs 437,238 Ratings 1687 7 4 Created 2017-03-28 Updated 2018-07-02
  • Krunker.io (360,720, Instant Nuke, New Gun, Aimbot, Esp, Unlimited AMMO, Unlimited Health) - Very Useful Krunker Aimbot E.T.C Hack I Have Been Working On For a While

    Author Trax Daily Installs 246 Total Installs 53,800 Ratings 5 1 10 Created 2019-11-04 Updated 2019-11-04
  • Krunker.io Aimbot (Updated) AIMBOT, ESP, TRIGGERBOT, - Updated Frequently

    Author L.L.L. Daily Installs 255 Total Installs 150,712 Ratings 19 1 7 Created 2019-05-12 Updated 2019-05-12
  • Moomoo.io | 🐺Labymod🐺 | 2020 - 【Hacks & Hackkeys】 ➜ 〖AUTO HEAL - T〗 〖MOD - MENU - ESC〗 〖INSTAKILL - R〗 AUTOSPIKE - V〗 〖More FPS〗 AUTOCLAN - 2 OR ▼〗 AUTOCHAT - 8 OR ▲〗 BOOST & Spike - G〗 〖AUTOWINDMILL - N〗〗 HATMACRO〗 〖Premium Map〗 〖Instawindmill's - O〗 〖Instatraps / Boostpads - I〗 〖CX Insta - Spacebar〗 〖Instaspike's - ü〗 〖Aimcursor〗 Big Shop〗

    Author Cookie_or_die Daily Installs 352 Total Installs 1,461 Ratings 1 1 0 Created 2020-01-13 Updated 2020-01-13
  • Skribbl.io Auto Guess - Skribblio Hacks - Best Skribbl Cheat 2019 - Skribblio Mods Features: Auto Guess, Draw Bot, Word Helper, Save Image, FPS, Adblock

    Author iomods.org. Daily Installs 255 Total Installs 63,443 Ratings 5 1 0
  • Agar.io 2019 Bots agarminions.tk | Cheap agar.io + Agario Clone Games 2019 Bots - BEST AGAR.IO & AGARIO CLONES GAMES BOTS + BIG BOTS FOR SALE!

    Author Agarminions.tk 2019 Bots. Daily Installs 193 Total Installs 79,557 Ratings 24 1 1 Created 2019-03-03 Updated 2019-03-03
  • MOD | God Juan ... - [G] for Spike + Boostpad, [n] for 1 windmills, [o] for 5 windmills, [h] for turrets [f] for boostpad, [v] for spike [p] for 4 Walls, [M] for Active / Unactive Auto Hat and [M] for 4 Spikes, [T] for Active / Unactive AutoHeal

    Author Hyper ~ Daily Installs 186 Total Installs 19,302 Ratings 9 1 1 Created 2019-11-14 Updated 2019-11-14
  • GREASYFORK SEARCH WITH SLEAZYFORK RESULTS INCLUDE - Merge Adult Results of Sleazyfork Into GreatyFork When The Script Is No Longer Anonymously Available, Add Rating Score and Version for Scripts Then

    Author hoothin. Daily Installs 184 Total Installs 110,613 Ratings 1330 4 0 Created 2016-10-08 Updated 2019-08-02
  • REMOVE WEB LIMITS - Pass to Kill Most of the Site, You Can Lift The Restrictions Prohibited to Copy, Cut, Select The Text, Right-Click Menu.

    Author Cat73. Daily Installs 189 Total Installs 497,105 Ratings 2250 4 0 Created 2015-11-23 Updated 2016-12-18
  • DIEP.IO AIMBOT - DIEPIO HACKS - BEST DIEP CHEAT 2019 - Diepio Mods Features: Color Changer, Colorful Items, Aimbot, Fire Bot, Auto Respan, FPS, Adblock

    Author iomods.org. Daily Installs 180 Total Installs 48,778 Ratings 10 0 11 Created 2019-04-12 Updated 2019-04-27
  • - Currently Trusted by Over 100,000 Users!

    Author SAM-DEVZ. Daily Installs 173 Total Installs 403,943 Ratings 304 54 62 Created 2018-02-24 Updated 2019-07-01
  • 视频 广告 自动 过 - AUTO SKIP Video ADS!

    Author wulududu Daily Installs 175 Total Installs 2,282 Ratings 16 0 0 Created 2020-01-05 Updated 2020-01-18
  • Surviv.io Aimbot - Survivio Hacks - Best Surviv Cheat 2019 - Survivio Mods Features: Scope Mod, Faster Duo / Squad, AUTO Respawn, Auto Reload, Aimbot, Firebot, FPS, Adblock

    Author iomods.org. Daily Installs 201 Total Installs 38,498 Ratings 4 0 4 Created 2019-04-12 Updated 2019-04-21
  • Krunker Plus V3 - "I" M Aware Krunker Hacks Are Back. We Are Gonna Work on Fixing Them As Much As We Can! -Sidney_de_Vries "

    Author bobby013712345. Daily Installs 1,043 Total Installs 1,161 Ratings 0 0 0 Created 2020-01-22 Updated 2020-01-22
  • Kill Baidu Ad - Just Kill Baidu AD

    Author hoothin. Daily Installs 152 Total Installs 305,524 Ratings 964 2 3 Created 2016-10-21 Updated 2019-01-31
  • Userscript +: Show Site All UserJS - Show Current Site All Userjs, The Easier Way to Install Userjs for TampermonKey.

    Author jaeger Daily Installs 152 Total Installs 179,475 Ratings 1871 3 2 Created 2016-11-02 Updated 2019-09-12
  • Pixiv Plus - Focus On Immersive Experience, 1. Block ADS, Directly Access Popular Pictures 2. Use User to ENTER THE WAY TO SEARCH 3. Search PID and UID 4. DISPLAY ORIGINAL IMAGE AND SIZE, PICTURE RENAME, Download Original Image | GIF MAP | Zip | Multiple Map Zip 5. Display Artist ID, ARTIST Background Image 6. Auto Load Comment 7. Dynamic Markup Work Type 8. Remove Redirection 9. Single Desired Function GitHub: Https: / /github.com / AhaoChan / TampermonKey, Welcome to Star and Fo

    Author Ahaochan. Daily Installs 152 Total Installs 70,505 Ratings 504 4 1 Created 2017-10-14 Updated 2020-01-09
  • ShellShock.io Aimbot - Shellshockio Hacks - Best Shellshockers Cheat 2019 - Shellshockio Mods Features: Aimbot, Firebot, Faster Speed, Auto Heal, FPS, Adblock

    Author iomods.org. Daily Installs 159 Total Installs 28,814 Ratings 7 1 1 Created 2019-04-12 Updated 2019-04-21
  • Krunker Skid - Bushfire-Disaster-Appeal - Krunker.io Modification

    Author Skid Lamer. Daily Installs 90 Total Installs 3,478 Ratings 8 0 0 Created 2020-01-01 Updated 2020-01-10
  • Agar.io Split Hack - Agario Hacks - Best Agar Cheat 2019 - Agario Mods Features: Split Hack, Zoom Hack, Feed Hack, Free Skins, FPS, Adblock

    Author iomods.org. Daily Installs 109 Total Installs 16,375 Ratings 3 0 1 Created 2019-05-31 Updated 2019-05-31
  • The Best YouTube Downloader, Download Video Mp4, Avi, Mp3, HD, 1080p, 2k, 4k & 8k - Download Any Video and Music (Audio) from YouTube, Twitter, Vimeo, Facebook, Instagram, Soundcloud, Dailymotion, Liveleak, Break, Imgur, Mashable, Reddit, 1TV, 9gag, VK, Ted, Youku, Bilibili, Imdb, Espn, Flickr , Bandcamp, Pornhub, 9gag, vk.com, OK.RU, TV.com and 10,000 More Sites for Free. Also Support to download subtitles. FREE, FAST AND EASY TO USE. No need to install any annoying software. Supporting MP4, Webm, Avi, 3gp, Flv, H64, ACC, FLA, MP3, M4A, 8K, 6K, 4K, 2K, 1080, 720, 480, 360, etc.

    Author hello123. Daily Installs 128 Total Installs 192,763 Ratings 352 7 28 Created 2018-06-11 Updated 2020-01-01
  • Ultratype - a Nitrotype AutoTyper.

    Author Skittydev Daily Installs 120 Total Installs 11.004 Ratings 2 1 1 Created 2019-10-02 Updated 2019-10-02
  • MooJax (Stick to Katana / Musket + Katana or Greater Axe / Stick + Spikes) (Insta! Pro!) - Moojax - On Axion

    Author Jack Lal Daily Installs 116 Total Installs 2,258 Ratings 2 1 0 Created 2020-01-03 Updated 2020-01-03
  • Sliter.io Invincible HackBot (Best Sliter Bot and Working 2020) - Sliter.io Invincible HackBot by Cthack And Fixed by Jaime Argila

    Author Jaime Argila Daily Installs 115 Total Installs 15,948 Ratings 5 1 0 Created 2019-08-25 Updated 2019-12-12
  • ZOMBS.IO GOLD GENERATOR HACK - Subscribes XXXXDDDDD

    Author Oyun Manyakları. Daily Installs 91 Total Installs 13,893 Ratings 5 1 1 Created 2019-08-09 Updated 2019-08-09
  • Anti-Adblock Killer | Reek - Helps You Keep Your Ad-Blocker Active, When You Visit A \u200b\u200bWebSite and It Assks You to Disable.

    Author reek Daily Installs 111 Total Installs 315,268 Ratings 1123 20 44 Created 2014-05-09 Updated 2016-11-17
  • Bilibili 港 澳 台 - Bilibili 港 澳 台, 解除 区域 限制 (修正 大 会员 限制, 添加 国际 友人 看 国内 功能)

    Author Zealot. Daily Installs 121 Total Installs 95,591 Ratings 224 5 2 Created 2018-12-23 Updated 2019-10-13
  • Nitro Type Car Hack (Dealership) - Get Secret Cars and Skin Teasers for Dealership

    Author Zaven Lei2027-23. Daily Installs 105 Total Installs 24,552 Ratings 16 1 4 Created 2018-11-13 Updated 2018-11-13
  • Krunker 1.9.6 Hack - Hack for Krunker.io 1.9.6

    Author 鬼滅の刃デース Daily Installs 60 Total Installs 3,152 Ratings 1 0 0 Created 2020-01-10 Updated 2020-01-10
  • These pages are under development, but they are intended to help users without experience and knowledge understand how to install and use custom scripts on their computers.

    What is a custom script?

    Singing scripts (Userscripts, User Scripts, User Scripts, or.user.js) - These are licensed expansions for open source browsers that make changes to the web page when loading. It enable users to force sites to do what they want, instead of the fact that was originally planned. Usually the script of this type is the file on your computer, the named site to which it affects is the useful name you want to call it.user.js and always ends N.User.js.

    Such useful tasks as improved layout, bug fixes ( errors), Automation of the main tasks and adding new features, all this can make custom scripts. More complex user scripts can create a mesh, connecting information from various sites or by implementing new data on a web page, for example, add feedback or comparison of prices in online stores.

    What is a library of scripts?

    Library Script (libs, libraries or simply .js) - These are reusable licensed slices of code and open source, which are open for general use in other user scripts. Usually the script of this type is a file, called the useful name you want to call it.JS and never does not end N.User.js.

    How can I use a custom script?

    To use it, you must set the extension specifically for your browser. These extensions simplify management tasks, such as installation, delete, and update custom scripts. The source manager for managing user scripts was GreaseEmonKey for browser Firefox., so you can often hear that custom scripts call GreaseEmonKey scripts. To find out how to continue, look at the options for your browser in the table below.

    What are the risks?

    You should be aware of confidentiality issues when using user scripts and not to install them from sources that you do not trust. Custom scripts can perform actions on your behalf and can potentially access any information on the site to which you have access, or which you enter on the site. Often it is allowed to implement the functions that scripts on ordinary sites cannot be carried out, such as storing information on your computer and its exchange with the site. Poorly written user scripts can also potentially be used by malicious sites.

    To reduce security risks, most user script managers allow you to control, to which websites custom scripts will have access and whether they can work on safe (https) sites or local files on your computer. On Awe.ACestream.Me, the source code of each user script can be checked so that other programmers can see, there are any malicious code or dangerous bugs or not.