url – How to hide website’s real address

You can’t get there with forwarding, as forwarding will, by definition eventually take customers directly to the final location. What you need is reverse proxying.

A reverse proxy works by going to a an address, and having that address proxy the request to a different address at the final site. This does, of-course, mean a double-up of bandwidth use – Once from the client to the proxy, and once from the proxy to the actual server. The flipside of this is you can swap out the proxy for a CDN and have a distributed frontend.

You can build a reverse proxy yourself (lots of ways to do it, Apache has a module to do it, and I believe Nginx and Squid do as well. Its also practical to roll your own if you limit the scope). That said, for the general case most entities use services like Cloudflare or Cloudfront. This has an added advantage of adding DoS protection and other management tools.

Word of caution – if you are planning on distributing content of questionable legality – asking the question you did exposes a lack of knowledge required to avoid getting caught – so don’t do it. While this will be strong protection against end users, it will not by itself prevent agencies backed by government from tracking back to the final site, as there is a lot of infrastructure required of ISPs to help governments/spy agencies – and this is likely to expose the ultimate location if a government deems it worthwhile.

dnd 5e – Using Wild Shape to hide (as a parasite)

So, a question came up in a game recently. Can a Druid with Wild Shape use it to transform into a parasitic animal and thus occupy the same square as the host, as well as smuggle the Druid into some other place? Like how would you run it if a Druid Wild Shape’d into a tapeworm? Could she use that to sneak past some guards inside another person? The general rule is that if they are inside another animal and de-wild shape, they just appear next to the first creature rather than making it explode by resizing inside it, so I am not so much concerned with how the end game would work out, but whether or not it would be allowed, how combat might work, stuff like that. Thoughts?

magento2 – Hoe to hide the uiComponent meant for a specific step on other step(s) on checkout page?

I’m relatively new to magento 2 and wanted to show totals uiComponent which is in sidebar displayArea at shipping step, now I’ve managed to do that but it keeps showing on billing step as well and I was wondering if there’s any way to hide it on all other steps except for where this uiComponent is meant for. Any help would be hugely appreciated. Here’s my checkout_index_index.xml

<referenceBlock name="checkout.root">
    <arguments>
        <argument name="jsLayout" xsi:type="array">
            <item name="components" xsi:type="array">
                <item name="checkout" xsi:type="array">
                    <item name="children" xsi:type="array">
                        <item name="steps" xsi:type="array">
                            <item name="children" xsi:type="array">
                                <item name="shipping-step" xsi:type="array">
                                    <item name="children" xsi:type="array">
                                        <item name="shipping-totals" xsi:type="array">
                                            <item name="component" xsi:type="string">Magento_Checkout/js/view/summary/totals</item>
                                            <item name="displayArea" xsi:type="string">totals_steps</item>
                                            <item name="config" xsi:type="array">
                                                <item name="template" xsi:type="string">Magento_Checkout/summary/totals</item>
                                            </item>
                                            <item name="children" xsi:type="array">
                                                <!-- sort order for this totals is configured on admin panel-->
                                                <!-- Stores->Configuration->SALES->Sales->General->Checkout Totals Sort Order -->
                                                <item name="subtotal" xsi:type="array">
                                                    <item name="component" xsi:type="string">Magento_Checkout/js/view/summary/subtotal</item>
                                                    <item name="config" xsi:type="array">
                                                        <item name="title" xsi:type="string" translate="true">Cart Subtotal</item>
                                                    </item>
                                                </item>
                                                <item name="shipping" xsi:type="array">
                                                    <item name="component" xsi:type="string">Magento_Checkout/js/view/summary/shipping</item>
                                                    <item name="config" xsi:type="array">
                                                        <item name="title" xsi:type="string" translate="true">Shipping</item>
                                                        <item name="notCalculatedMessage" xsi:type="string" translate="true">Not yet calculated</item>
                                                    </item>
                                                </item>
                                                <item name="grand-total" xsi:type="array">
                                                    <item name="component" xsi:type="string">Magento_Checkout/js/view/summary/grand-total</item>
                                                    <item name="config" xsi:type="array">
                                                        <item name="title" xsi:type="string" translate="true">Order Total</item>
                                                    </item>
                                                </item>
                                            </item>
                                        </item>
                                    </item>
                                </item>
                            </item>
                        </item>
                    </item>
                </item>
            </item>
        </argument>
    </arguments>
</referenceBlock>

theme settings – File Field related issue / How to hide file size information?

I used CDN option while creating my sub-theme. I find less and sass things pretty confusing since I am someone who haven’t mastered the css yet. What I have found out so far is:

  • I can edit some styling copying some css lines from “/libraries/bootstrap/css/bootstrap-theme.css” to “subtheme/css/style.css” file.

What I want to do is to remove / disable / hide the file size information which shows up next to the file link which is the product of ‘file-field’ of Drupal. This is viewed using bootstrap’s table styling / template or whatsoever you call it.

Is this something that should be accomplished using css or it is a template file or maybe it can only be modified in module?

windows 10 – How to hide Chrome download bar

My project are not allow the download bar auto popup, so I try to search Google. Many results are shown using the Chrome Extensions, but I don’t want to use Chrome Extensions to solve the problem. Also, users are using Chrome version 77-84 now.

According the
How to disable Google Chrome download bar?, some people suggested chrome://flags, but this method cannot use now.

So, any ideas can disable Chrome download bar (e.g. Group Policy, registry)? Thank you.

Hide add to cart based on cart items

I need to be able to hide the add to cart button of certain products are already in the cart.

I have Full Page Cache turned on so it seems to cant access the checkout session.

What would be the best approach to take on this?

is it possible to add json code to hide and show other rows based on column value?

am using view formatting with json wondering if its possible to add
button that can sort , hide and show other rows based on their column value, like only show items in toys department store and hide other departments sports etc

How to hide Facebook page followers number

strong text
how do I hide the numbers of following on my Facebook page?..

How can I hide /scald-tags/ pages?

How to make Scald-tags pages unavailable for users to reach?
Pages like this one: https://nsarchive.gwu.edu/scald-tags/ebb718
Thanks.

magento2 – Hide Accound Dashboard Link depending upon customer group

I would suggest below reference code. There are two ways to do this

  1. Create a new layout that will work filter based on the customer group. Forex customer_group_general.xml. In this file, you can hide/remove the left navigation link which you have added using the XML file. Please follow the steps to create a new layout:
  • Create a new module
  • Add di.xml file in the etc/frontend folder
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="MagentoFrameworkViewResultPage">
        <plugin name="(pluginName)" type="(Vendor)(ModuleName)Plugin(ClassName)" sortOrder="10"/>
    </type>
</config>
  • Create plugin php file in your module in app/code/(codePool)/(Vendor)/(ModuleName)/Plugin/(ClassName).php
<?php

namespace (Vendor)(ModuleName)Plugin;

use MagentoCustomerModelSession;
use MagentoFrameworkViewResultPage;
use MagentoStoreModelGroupFactory;

class (ClassName)
{
    protected $customerSession;

    protected $groupFactory;

    public function __construct(
        Session $customerSession,
        GroupFactory $groupFactory
    ) {
        $this->customerSession = $customerSession;
        $this->groupFactory = $groupFactory;
    }

    public function afterAddPageLayoutHandles(Page $subject)
    {
        $group = $this->groupFactory->create()
            ->load($this->customerSession->getCustomerGroupId());
        if ($group->getId() >= 0) {
            $handle = sprintf("customer_group_%s", strtolower(preg_replace("/(^A-Za-z0-9)/", '_', $group->getName())));
            $subject->addHandle($handle);
        }

        return $subject;
    }
}

Now you can create a customer_group_default.xml and update the link based on your requirement. Please review the reference link for more details.

https://www.smartiehastheanswer.co.uk/magento2/adding-custom-dynamic-layout-handles-globally-in-magento2.html

  1. Create a custom link that will come from the phtml file. In phtml file, you can add your conditions and it will update in the left navigation.
<block class="CustomSalesBlockLink" name="downloads-new" template="Custom_Sales::link.phtml">
    <arguments>
        <argument name="sortOrder" xsi:type="number">210</argument>
    </arguments>
</block>

link.phtml

<?php if($block->hidelink()):?>
<li class="custom link" > 
<a href="<?= /* @noEscape */
$block->getUrl('test/index/index')?>" class="custom-link">
   <?php echo __("My Link")?>
</a> 
</li>
<?php }?>

Link.php

<?php
namespace CustomSalesBlock;

use MagentoCustomerBlockAccountSortLinkInterface;

/**
 * Class Link
 *
 * @api
 * @SuppressWarnings(PHPMD.DepthOfInheritance)
 * @since 100.0.2
 */
class Link extends MagentoFrameworkViewElementHtmlLink implements SortLinkInterface
{
    /**
     * {@inheritdoc}
     * @since 101.0.0
     */
    public function getSortOrder()
    {
        return $this->getData(self::SORT_ORDER);
    }

    public function hideLink() {
        //Add condition
        return false;
    }

}

In block, you can load current logged in customer and sent true or false flag in the link.phtml

I hope this will help you.

Thanks. If you need any help, please let me know.