Difference between revisions of "Client Abuse"

From Screeps Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
== History ==
 
== History ==
   
Approximately September 2016, an unknown player identified to the public that <code>console.log()</code> would accept HTML code. His code used <code>&lt;span&gt;</code> tags with a style attribute to change the output's color. Mild style changes to output were then provided, and that spun out the Logging community, which started making elaborate HTML outputs into the console, showing stats from in-game, or allowing you to perform tasks from the console. One of the first instances of purely Client Abuse code was posted around late November or early December by @stybbe, which provided a global function that output the text to the console and read it aloud, using an API provided by [[https://responsivevoice.org ResponsiveVoice]]. Since then, Client Abuse snippets have been released providing an in-client grafana agent for screepspl.us, saving files to your computer via the client, injecting the [[alliances|League of Automated Nations]] tampermonkey script into the client, saving the [http://www.leagueofautomatednations.com/alliances.js alliances.js] to a location in Memory, and more.
+
Approximately September 2016, an unknown player identified to the public that <code>console.log()</code> would accept HTML code. His code used <code>&lt;span&gt;</code> tags with a style attribute to change the output's color. Mild style changes to output were then provided, and that spun out the Logging community, which started making elaborate HTML outputs into the console, showing stats from in-game, or allowing you to perform tasks from the console. One of the first instances of purely Client Abuse code was posted around late November or early December, which provided a global function that output the text to the console and read it aloud, using an API provided by [[https://responsivevoice.org ResponsiveVoice]]. Since then, Client Abuse snippets have been released providing an in-client grafana agent for screepspl.us, saving files to your computer via the client, injecting the [[alliances|League of Automated Nations]] tampermonkey script into the client, saving the [http://www.leagueofautomatednations.com/alliances.js alliances.js] to a location in Memory, and more.

Revision as of 01:04, 31 January 2017

This article is a stub. You can help Screeps Wiki by editing to add more information.

Client Abuse is taking advantage of console.log() accepting HTML, especially <script> and <style> tags, to inject code into the client. This is done for the purpose of adding/editing client functionality, modifying how the client displays the game data, or performing tasks that interact with the game and external sites. The code will only function while a client is open.

History

Approximately September 2016, an unknown player identified to the public that console.log() would accept HTML code. His code used <span> tags with a style attribute to change the output's color. Mild style changes to output were then provided, and that spun out the Logging community, which started making elaborate HTML outputs into the console, showing stats from in-game, or allowing you to perform tasks from the console. One of the first instances of purely Client Abuse code was posted around late November or early December, which provided a global function that output the text to the console and read it aloud, using an API provided by [ResponsiveVoice]. Since then, Client Abuse snippets have been released providing an in-client grafana agent for screepspl.us, saving files to your computer via the client, injecting the League of Automated Nations tampermonkey script into the client, saving the alliances.js to a location in Memory, and more.