GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    𝅙𝅙𝅙𝅙𝅙𝅙𝅙𝅙 (sally@freesoftwareextremist.com)'s status on Saturday, 08-Mar-2025 21:39:49 JST 𝅙𝅙𝅙𝅙𝅙𝅙𝅙𝅙 𝅙𝅙𝅙𝅙𝅙𝅙𝅙𝅙
    • Zergling_man
    @Zergling_man

    Just a friendly reminder, the javascript blocker on your site doesn't seem to function properly. After ~3 seconds it redirects to the site successfully rather than blocking access to it.
    In conversation about 2 months ago from freesoftwareextremist.com permalink
    • Embed this notice
      Yukkuri (iamtakingiteasy@eientei.org)'s status on Saturday, 08-Mar-2025 21:39:44 JST Yukkuri Yukkuri
      in reply to
      • Zergling_man
      • 夜化

      @Zergling_man @Yoruka @sally You can do away with most of JS with just CSS counters and animations:

      <div id="nojs" class="hidden"> <p>Or wait <n id="tick"></n> seconds...</p> </div> <style type="text/css"> @property --tick { syntax: "<integer>"; initial-value: 0; inherits: false; } @keyframes tick { from { --tick: 3; } } @keyframes hide { from { width: 100%; height: 100%; } } .hidden { display: none; } .nojs { display: block; position: absolute; padding: 0; margin: 0; left: 0; top: 0; right: 100%; bottom: 100%; width: 0; height: 0; overflow: hidden; animation: hide 3s steps(1, end); background: #fff; } #tick { animation: tick 3s steps(3); counter-reset: tick var(--tick); } #tick::after { content: counter(tick); } </style>

      then the only JS line you need:

      document.getElementById("nojs").className = "nojs"
      In conversation about 2 months ago permalink
      翠星石 likes this.
    • Embed this notice
      Zergling_man (zergling_man@sacred.harpy.faith)'s status on Saturday, 08-Mar-2025 21:39:45 JST Zergling_man Zergling_man
      in reply to
      • 夜化
      @Yoruka @sally Yes.
      In conversation about 2 months ago permalink
    • Embed this notice
      夜化 (yoruka@eientei.org)'s status on Saturday, 08-Mar-2025 21:39:47 JST 夜化 夜化
      in reply to
      • Zergling_man
      @Zergling_man @sally i should add one to www.pukeko.club
      In conversation about 2 months ago permalink
    • Embed this notice
      Zergling_man (zergling_man@sacred.harpy.faith)'s status on Saturday, 08-Mar-2025 21:39:48 JST Zergling_man Zergling_man
      in reply to
      @sally It's meant to annoy normies, it does that well enough
      In conversation about 2 months ago permalink
    • Embed this notice
      翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Saturday, 08-Mar-2025 21:43:48 JST 翠星石 翠星石
      in reply to
      • Yukkuri
      • Zergling_man
      • 夜化
      @iamtakingiteasy @Yoruka @sally @Zergling_man Unfortunately that uses one line of JavaScript instead of none.

      You only need one line of JavaScript to deny access;
      document.body.innerHTML = 'We have detected that you have JavaScript enabled in your browser, please disable it to continue. Please be aware that your browser has a severe vulnerability, as it performs remote code execution of malicious JavaScript automatically.';


      I'm interested if there's a CSS technique that can be used to cover up the page only if JavaScript is enabled, but without actually using a single line of JavaScript (considering the depraved featureset of browsers I figure it's possible).
      In conversation about 2 months ago permalink
    • Embed this notice
      翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Saturday, 08-Mar-2025 21:53:16 JST 翠星石 翠星石
      in reply to
      • Yukkuri
      • Zergling_man
      • 夜化
      • reimu
      @reimu @Yoruka @sally @iamtakingiteasy @Zergling_man Well, there it is.

      Thank you.
      In conversation about 2 months ago permalink
    • Embed this notice
      reimu@mk.fumo.pictures's status on Saturday, 08-Mar-2025 21:53:20 JST reimu reimu
      in reply to
      • 翠星石
      • Yukkuri
      • Zergling_man
      • 夜化

      @Suiseiseki@freesoftwareextremist.com @iamtakingiteasy@eientei.org @Yoruka@eientei.org @sally@freesoftwareextremist.com @Zergling_man@sacred.harpy.faith I'm interested if there's a CSS technique that can be used to cover up the page only if JavaScript is enabled, but without actually using a single line of JavaScript (considering the depraved featureset of browsers I figure it's possible).If you put the entire page in a noscript tag then it would be invisible if you have javascript enabled
      https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript

      In conversation about 2 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: developer.mozilla.org
        : The Noscript element - HTML: HyperText Markup Language | MDN
        from MozDevNet
        The HTML element defines a section of HTML to be inserted if a script type on the page is unsupported or if scripting is currently turned off in the browser.
    • Embed this notice
      reimu@mk.fumo.pictures's status on Sunday, 09-Mar-2025 15:16:45 JST reimu reimu
      in reply to
      • 翠星石
      • Yukkuri
      • Zergling_man
      • 夜化
      • GNU/Gabi

      @Yoruka@eientei.org @gabi@freesoftwareextremist.com @iamtakingiteasy@eientei.org @Suiseiseki@freesoftwareextremist.com @sally@freesoftwareextremist.com @Zergling_man@sacred.harpy.faith This is a way to do it without any JS

      (you can also have a noscript in the body and have it cover up the message, but I think this is cleaner)
      <!DOCTYPE html> <html> <head> <style> #noscript { display: none; } </style> <noscript> <style> #noscript { display: block; } #script { display: none; } </style> </noscript> </head> <body> <div id="noscript"> website content </div> <div id="script"> We have detected that you have JavaScript enabled in your browser, please disable it to continue. Please be aware that your browser has a severe vulnerability, as it performs remote code execution of malicious JavaScript automatically. </div> </body> </html>

      In conversation about 2 months ago permalink
      翠星石 likes this.
    • Embed this notice
      夜化 (yoruka@eientei.org)'s status on Sunday, 09-Mar-2025 15:16:46 JST 夜化 夜化
      in reply to
      • 翠星石
      • Yukkuri
      • Zergling_man
      • reimu
      • GNU/Gabi
      @gabi @iamtakingiteasy @Suiseiseki @sally @reimu @Zergling_man but that means using javascript
      In conversation about 2 months ago permalink
    • Embed this notice
      GNU/Gabi (gabi@freesoftwareextremist.com)'s status on Sunday, 09-Mar-2025 15:16:48 JST GNU/Gabi GNU/Gabi
      in reply to
      • 翠星石
      • Yukkuri
      • Zergling_man
      • 夜化
      • reimu
      @Suiseiseki @reimu @Yoruka @Zergling_man @iamtakingiteasy @sally
      Additionally, before the <noscript> element, you might consider adding the following code: <script type="text/javascript">document.body.textContent = 'We have detected that you have JavaScript enabled in your browser, please disable it to continue. Please be aware that your browser has a severe vulnerability, as it performs remote code execution of malicious JavaScript automatically.'</script>
      In conversation about 2 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.