Showing posts with label Nasty dialogs. Show all posts
Showing posts with label Nasty dialogs. Show all posts

2025/05/20

Firefox: Prevent Google AI on web search

 grab Greasymonkey or similar

// ==UserScript==
// @name         Google Web tab redirect
// @match        https://www.google.com/search*
// @run-at       document-start
// ==/UserScript==

(function() {
    let url = new URL(location.href);
    if (!url.searchParams.has("udm")) {
        url.searchParams.set("udm", "14");
        location.replace(url.toString());
    }
})();

 

what it does: it automatically selects the "Web" option.

If tomorrow they change/remover the attribute one could simply hide it using uBlockOrigin. 


2018/06/16

stylish for stackexchange

removes annoying cookies usage notice (which I have them blocked with CookieMonster anyway):

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("stackexchange.com") {
#js-gdpr-consent-banner
  { display: none !important; }
}

2017/04/30

new FB Stylish for Firefox

FB did a major change on their web site so many Id and classes were changed, old Stylish template doesnt work anymore as it used to be. So here's my first attempt to rewrite it:

*(Updated 20170801)

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("www.facebook.com") {
.groupSkyAux,
#pagelet_pymk_timeline,
.contentArea,
.rightCol,
#pagelet_rhc_footer,
#appsNav,
#outdatedBrowserBanner,
.fbPageBannerInner,
#u_jsonp_8_n,
._1vc-,
.ego_section,
.mts,
.home_right_column,
#substream_0
{background:none !important;display:none !important}

.textInput
{color:black !important;}


}

2016/02/26

FB Clean Stylish

another post of the same thing: how to get rid of annoying suggestions and ads

get Firefox + Stylish

inside Stylish create the following style:

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("facebook.com") {
.uiTextareaAutogrow, .inputtext { color: black ; background-color:white }
#u_jsonp_5_1p,
._5ciw, .rhcFooter,
#appsNav,
#pagesNav,
#interestsNav,
#developerNav,
#listsNav,

#pagelet_bookmark_nav,
#u_jsonp_2_29,
#nf_megaphone_school_add,

#stream_story_525363c9273e41d84248140,

.stream_story_525363c9273e41d84248140,

#pagelet_stream_pager,

#‎u_0_30‬,

#rightCol,

#pagelet_side_ads,

#pagelet_pymk_timeline,

#escapeHatchMinimal_4__g,

#rightColWrap,

‪#‎pagelet_pymk_timeline‬,

‪#‎pagelet_megaphone‬,

‪#‎findFriendsNav‬,

.UIStandardFrame_SidebarAds,

.MessagingNetegoSidebar,

‪#‎MessagingNetegoSidebar‬,

‪#‎pagelet_bookmark_nav‬,

‪#‎pagelet_relationships‬,

‪#‎profile‬-friends-footer,

.pagelet_stream_pager,

‪#‎pagelet_stream_pager‬,

.rightCol,

‪#‎rightCol‬,

.rightColumnWrapper,

‪#‎rightColumnWrapper‬,

‪#‎pagelet_right_sidebar‬,

.pagelet_right_sidebar,

.fbTimelineSideAds,

#rightCol ‪#‎pagelet_ego_pane‬ .ego_column:nth-child(1),

.fbPhotoSnowboxAds,

.fbPhotoSnowboxAdsSide,

.fbEmu.fbEmuBlock.fbEmuEgo[id*="-id_"],

a[href*="/campaign/111111"], /* REMOVED TEMPORARY */

.fbEmuMarketplace,

‪#‎egoRefreshAds‬,

‪#‎pagelet_ego_pane_m‬,

‪#‎pagelet_ego_pane_w‬,

/* OLD STYLES */

.profile_sidebar_ads, .sidebar_ads, .adcolumn_header, .admarket_ad,

.ad_story, .social_ad_advert, .ads_feedback, .next_ad_button, .more_ads

{background:none !important;display:none !important}

}

2014/05/17

Must Have Firefox Addons

No Script: because it doesn't really matter if there's a hole in the newest  JavaScript  version for firebox. Link

Ad Block Plus: get rid of most nasty ads. Link

Cookie Monster: site cookies can store information on your browser about your preferences, but can also used to track you on the Internet.  Link

DTA (Download Them All): I'm not a mass downloader but this Addon is a must with Unplug. Link

Firebug: a must have for web hacking. Link

Lazarus: after typing 10 times the same form, you end up installing this.  Link

Skip Feedsportal: some RSS Feeds create a special formated url to keep a track of the sites you visit. If you don't want that, this Addon is for you. Link

Stylish: Check on my other posts to see what can you do with it. Link

Tabs on Bottom: as firefox user since version 1 I like the old style more than the new one. Link

Unplug: Extract media from web pages like Youtube. Link

User Agent Switcher: In some cases, if a web pages is acting weird, you can force them to believe you are using a different browser.  Link


2014/04/23

How to get rid of "Try the new Twitter profile" box on Twitter

EDIT 20140603: this post is outdated since Twitter forced the new style on every account

ORIGINAL POST:

same thing as this post, You need Firefox, Stylish and create a new style for the domain.

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("twitter.com") {
.ProfilePreviewBanner

{background:none !important;display:none !important}

}


Edit: Added screenshoots as example. notice the icon in the left lower corner:




@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("twitter.com") {
.ProfilePreviewBanner

{background:none !important;display:none !important}

}
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("twitter.com") {
.ProfilePreviewBanner

{background:none !important;display:none !important}

}