How to Stop Mobile Flash Ads Like BSNL BUZZ | Permanently Deactivate Message Advertisements [Hindi]
seen from China

seen from Australia
seen from United States
seen from United Kingdom
seen from China
seen from United States

seen from Germany
seen from Ukraine
seen from United States
seen from China
seen from United States

seen from Malaysia

seen from United Kingdom
seen from Japan
seen from China

seen from United Kingdom

seen from Türkiye
seen from China
seen from United States
seen from China
How to Stop Mobile Flash Ads Like BSNL BUZZ | Permanently Deactivate Message Advertisements [Hindi]
How to stop Flash messages from Reliance mobile
How to stop Flash messages from Reliance mobile
Users of Reliance Communications are experiencing one of the poorest telecom service in India. There are large number of frustrated reliance customers in India. Mostly, they are tried of Balance deduction, poor Internet speed and less network coverage but there are other reasons too.
Flash messages are other annoying elements. In brief Flash messages are messages that pops up on mobile screen…
View On WordPress
Custom devise flash messages in Rails
If you're still using devise v1.5 with Rails and want to customize devise flash messages with more variables (i.e.: "Welcome %{name}! You are now signed in") one way of doing this is by patching devise method set_flash_message().
This can be done by creating a file inside "config/config/initializers/devise_override.rb" with:
module Devise module Controllers module InternalHelpers protected def set_flash_message(key, kind, options={}) #:nodoc: options[:scope] = "devise.#{controller_name}" options[:default] = Array(options[:default]).unshift(kind.to_sym) options[:resource_name] = resource_name
# custom code to add more variables into options if r=signed_in_resource case resource_name when :user,:vendor options[:first_name] = r.first_name options[:last_name] = r.last_name end end
message = I18n.t("#{resource_name}.#{kind}", options) flash[key] = message if message.present? end end end end
Nice flash message display for not-signed-in users
In app/views/layouts/application.html.erb:
In assets/javascripts/application.js: function showNotification(message) { $("#notification").html(message); $("#notification").center().slideDown('0').delay('3500').slideUp('0'); } In your css file of choice: #notification { padding: 10px; width: 360px; background-color: Black; z-index: 1; /* These three lines are for transparency in all browsers. */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; filter: alpha(opacity=70); opacity: .7; color: #eee; font-size: 20px; line-height: 30px; text-align:center; } Then in any javascript file you can call: showNotification("message to display"); And it will give a nice black popup which fades away in 3-4 seconds.