Adblock filter allow a specific div? - adblock

How do you unblock a specific div using Adblock filters?
For e.g. StackOverflow .network-items is blocked by AdBlock. How can this specific div be un-blocked?

There are basically two ways (see adblockplus.org):
Disable element hiding for the whole domain (e.g. ##||example.com^$elemhide).
Create an exception filter for each filter that is being applied on that element (e.g. ###.network-items would disable the filter ##.network-items). In Firefox you can see all active filters by choosing "Open blockable items" from the Adblock Plus icon menu.
Generally, if you think that something shouldn't be blocked and a manual filter list update didn't help then the Adblock Plus forum is the best place to report that.

Related

How to use cy.contains for a common method in cypress

I wanted to use a search box and enter an input text. Multiple search boxes exist in the different left panels. Once I click any link from the left panel, it takes me to a specific page that contains a search box. How to write one common search box identifier and use it everywhere
Following are search box identifiers on various pages.
data-testid="leftpanel1-searchInput"
data-testid="leftpanel2-searchInput"
data-testid="leftpanel3-searchInput"
Cypress uses CSS selectors, and your answer is available right in the Cypress documentation here
Though below works with both cy.contains() and cy.get(), you no need to use contains. Simply put, cy.get('[data-testid$=-searchInput]');
[data-testid*='leftpanel1'] this will select all elements or you can say it's common search box identifier

Is it possible to render Adaptive Cards with Autocomplete Input Text Field in MS Teams

I have the bot which working in MS Teams channel. I use it for creating some FTP groups and other stuff. The key problem, that now i have the large number of that groups and i wanna to filter them, before creating a new one. Is it possible to implement autocomplete for input text-box? I'm trying to use input choice set as a drop down list, but is not good solution, because I have about 200-300 groups, and its very annoying to scroll them down. If you have any solutions, please share it!:)
This is not possible yet. The Adaptive Cards roadmap can be found here.
What you are looking for is 'dynamic searchable select menu (like select2), which is on the roadmap, but currently not planned.
Yes, as #Mick said this feature was not implemented yet. But I hv some workaround to acheive this. We can convert the normal dropdown to the searchable dropdown using select2 jquery plugin.This helps the user to search the value in the dropdown without scrolling for a long time.
I hv attatched the images
1.before plugin how dropdown looks like
2. after plugin how it looks like
below which U can find the difference here
U can simply use jquery cdn and select2 cdn for getting these features.
Now inside the script tag u can write like this
$('select').select2();
So that all te dropdowns will changes to searchable/filterable dropdowns.
Refer this link https://select2.org/getting-started/basic-usage if u have any doubts on how to use this.
This worked for me.

Add searchfield with recursive search to subpanel (similar to fixed searchfield with navbar)

I'm using the most recent version of mmenu and playing around with the search.
When adding a searchfield with navbars to the top of the menu, I am getting a great global, recursive search through all panels and subpanels.
However, I want the search to be only available for one of the submenus and not all of them. On the top level we have e.g. "catalogue, imprint, contact, terms&conditions, etc" and I only want the search to appear in the catalogue submenu which has lots of more submenus.
However, when adding a searchfield to the panel with the catalogue, it will not search any of the submenus anymore.
Apparently, the "showSubPanels" option does not work in this context. Any other suggestions how to get a recursive search like the one in the navbar on one of the subpanels (and only there)?
Thank you,
Roland

Drupal 8: Redirect from Default Taxonomy Term Page/Path to Custom Page Created in Panels/Pages

I am trying to redirect the Taxonomy term path/url to a custom panels/page, I found several posts from around the web about that and tried to implement the instructions but they did not work and I am doing something wrong. For example I tried what I thought was the closest to my situation found here and in the following quote but it did not work and the Taxonomy views was already disabled in the first place on my end.
Disable the Taxonomy term view.
Set the path on the panels page to /taxonomy/term/%.
Clear cache.
View page at taxonomy/term/{tid}.
I verified that this also works with URL aliases.
Can someone provide clear directions for the following
Pages/Panel screenshot
What do I enter in,
Page information
Page parameters
Page access
Variants: contexts
Variants: selection criteria
I've tried all kinds of different settings ("/taxonomy/term/{tid}", "/taxonomy/term/%", "/taxonomy/term/{taxonomy_term}", "/taxonomy/term/112") and changing Home>>Administration>>Configuration>>Search and metadata>>url alias settings but every link just goes back to the default taxonmy term page.
I solved the issue. If any body needs the answer here it is.
To change the page/layout of a taxonomy term first go to page manager (Home >> Administration >> Structure ).
You might see a page called "Taxonomy Term", that's where you want to start to make changes so click on that. If not you'll have to create on page. Both can be addressed by the following steps.
This example will show you how to create and use different layout for a different term page.
Go to Structure > Pages (/admin/structure/page_manager) and click on Edit button under Taxonomy Term row. On the right side you will see Default
These are variants. The Default variant at the bottom affects all the taxonomy/term pages. All other above variants overrides the Default variant using certain conditions a.k.a "Selection criteria".
Click the Add variant button to add a new variant.
Enter Label for the variant and choose "Panels" under the Type dropdown menu.
Choose "In-place Editor" for a Builder
Choose Layout for the page.
Enter [term:name] for Page title. This token holds the name of your taxonomy term. Now click on the Finish button, you will add block later.
Click on the Selection criteria.
Choose "Request Path" for a condition and click on the "Add condition" button.
Add taxonomy term page url's you wish to override (e.g. taxonomy/term/25).
Go to one of those pages (e.g. taxonomy/term/25) and add blocks.
Note that your variant must be positioned above the variant you override to work properly. Use the Reorder variants button to reorder your variants.
You can repeat this procedure if you wish to target a different terms also or a vocabulary. You can have as many variants you want.

How to Custom Search Panel In jQGrid

How Custom Search Panel In jQgrid example I Want translate search operation example equal to = or greaderthen > or ... or translate to arabic,
thanks all
I have perused the jqGrid wiki and found two pages which might help you.
This page talks about custom searching and its parameters. Notice that you can bind to the beforeSearch event and fire your own function, and parse the search text to accomplish whatever you want.
There is also toolbar searching, which allows custom filtering on each field in your data table. Depending on your solution, you may want to pursue this path. Again, this option also has events that you can bind to if the default search options don't fit your need.

Resources