Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1030864 // hjs_scrollDownOnPageLoad - pure JS

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2916L/17K).

sS hjs_scrollDownOnPageLoad() {
  ret hjs([[
    document.addEventListener("DOMContentLoaded", function() {
      window.scrollTo(0, 100000);
    });
  ]]);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030864
Snippet name: hjs_scrollDownOnPageLoad - pure JS
Eternal ID of this version: #1030864/2
Text MD5: 5c994c453ced1ce98f0be8a5f574896f
Transpilation MD5: 46710092661b73a7fc4268b476939a51
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-04 18:05:28
Source code size: 164 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 216 / 273
Version history: 1 change(s)
Referenced in: [show references]