synox/disposable-mailbox

Problems with Homepage

HashHackerAds opened this issue · 7 comments

Can you fix this file
https://github.com/wp-cdn-pbf/cdn.bhadoo.net/blob/master/frontend.template.php
running at https://beta.bhadoomail.com

Ads Doesn't loads sometimes and visitor counter shows error when the page refreshes automatically.
Can you tell me how to exclude the ads and counter out of auto refresh but show at the same place as they are.

check both for mobile and desktop

@synox Another Problem Found.
Check here
https://bhadoomail.com/bhadoo.net/#/Support
Capital Letters doesn't effects retrieval of emails.
while in new version
https://beta.bhadoomail.com/?Support@bhadoo.net
and
https://beta.bhadoomail.com/?support@bhadoo.net

doesn't reads email if Capitals are in there.

i can confirm the capital letters issue.
To fix this we need to change the address to lowercase:

    // print emails with html template
    $address = strtolower(filter_var($_SERVER['QUERY_STRING'], FILTER_SANITIZE_EMAIL));

Example: https://www.postfach2go.de/Vanilla/?MaXmUsTeR@example.com

//Edit:
For the Copy Button i would prefer:

        function copyAddress(address) {
            var inp = document.createElement('input');
            document.body.appendChild(inp);
            inp.value = address;
            inp.select();
            document.execCommand('copy',false);
            inp.remove();
        }

<p><button class="btn btn-outline-primary" onClick="copyAddress('<?php echo $address ?>');">Copy Email</button></p>

Example: https://www.postfach2go.de/Vanilla/?maxmuster@example.com

synox commented
  1. To avoid refreshing parts of the page:
    With the attribute "data-turbolinks-permanent" you can exclude a dom tree from beeing replaced.
    example:
    <form id="header-form" data-turbolinks-permanent action="?" method="post">

See https://github.com/turbolinks/turbolinks

  1. In commited a version with strtolower.

  2. Copy button: I like Spegeli's version. jQuery is opselete.

Thanks for your contributions! 🥇

synox commented

Let me know if you have any other issue (create a ticket for each issue, or reopen this one)

synox commented

@HashHackerAds Can I link to https://bhadoomail.com as a demo site?